s_id
stringlengths
10
10
p_id
stringlengths
6
6
u_id
stringlengths
10
10
date
stringlengths
10
10
language
stringclasses
1 value
original_language
stringclasses
11 values
filename_ext
stringclasses
1 value
status
stringclasses
1 value
cpu_time
int64
0
100
memory
stringlengths
4
6
code_size
int64
15
14.7k
code
stringlengths
15
14.7k
problem_id
stringlengths
6
6
problem_description
stringlengths
358
9.83k
input
stringlengths
2
4.87k
output
stringclasses
807 values
__index_level_0__
int64
1.1k
1.22M
s778932560
p04043
u259334183
1566607261
Python
Python (3.4.3)
py
Accepted
17
2940
91
a=list(map(int,input().split())) a.sort() if a==[5,5,7]: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,317
s129013157
p04043
u357630630
1566605883
Python
Python (3.4.3)
py
Accepted
17
2940
83
N = input().split() N.sort() print("YES") if ["5", "5", "7"] == N else print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,318
s345127354
p04043
u134712256
1566598529
Python
Python (3.4.3)
py
Accepted
17
2940
93
A = input() if A.count("5")==2 and A.count("7")==1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,319
s237307036
p04043
u900140292
1566596431
Python
Python (3.4.3)
py
Accepted
16
2940
95
S = input() if S == "5 5 7" or S == "5 7 5" or S == "7 5 5": print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,320
s329119771
p04043
u169657264
1566594818
Python
Python (3.4.3)
py
Accepted
21
3316
109
s = list(map(int, input().split())) if s.count(5) == 2 and s.count(7): print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,321
s311513248
p04043
u201082459
1566522743
Python
Python (3.4.3)
py
Accepted
17
2940
100
x = list(map(str,input().split())) print('YES' if x.count('5') == 2 and x.count('7') == 1 else 'NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,322
s784074065
p04043
u201082459
1566522640
Python
Python (3.4.3)
py
Accepted
17
2940
113
x = list(map(str,input().split())) if x.count('5') == 2 and x.count('7') == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,323
s741900276
p04043
u201082459
1566522203
Python
Python (3.4.3)
py
Accepted
17
2940
113
x = list(map(str,input().split())) if x.count('5') == 2 and x.count('7') == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,324
s371232869
p04043
u717626627
1566513259
Python
Python (3.4.3)
py
Accepted
17
2940
92
a = str(input()) if a.count('5') == 2 and a.count('7'): print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,325
s211856476
p04043
u717626627
1566513219
Python
Python (3.4.3)
py
Accepted
18
2940
109
a = str(input().replace(' ', '')) if a.count('5') == 2 and a.count('7'): print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,326
s215158598
p04043
u270144704
1566508439
Python
Python (3.4.3)
py
Accepted
17
3064
196
s=input() fcount,scount=0,0 list=s.split(' ') for i in list: if i=='5': fcount+=1 elif i=='7': scount+=1 if fcount==2 and scount==1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,327
s114783954
p04043
u770035520
1566476644
Python
Python (3.4.3)
py
Accepted
17
2940
152
syllables=[5,5,7] check=list(map(int,input().split())) check.sort() syllables.sort() if check==syllables: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,328
s985034171
p04043
u703890795
1566458374
Python
Python (3.4.3)
py
Accepted
17
2940
124
A, B, C = map(int, input().split()) if max(A, B, C)==7 and min(A, B, C)==5 and A+B+C==17: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,329
s095284143
p04043
u343711599
1566443457
Python
Python (3.4.3)
py
Accepted
17
2940
142
A,B,C = map(int,input().split()) if A+B+C == 17 and (A==5 or A==7) and (B==5 or B==7) and (C==5 or C==7): print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,330
s017073017
p04043
u725185906
1566421752
Python
Python (3.4.3)
py
Accepted
17
2940
187
a,b,c=map(int,input().split()) hairetsu=[a,b,c] if hairetsu.count(int(5))==2: if hairetsu.count(int(7))==1: print('YES') else: print('NO') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,331
s659778833
p04043
u920438243
1566363844
Python
Python (3.4.3)
py
Accepted
17
2940
181
num = input().split() go = 0 nana = 0 for i in num: if i == "5": go+=1 if i == "7": nana+=1 if (go==2) and (nana==1): print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,332
s434099933
p04043
u920438243
1566362984
Python
Python (3.4.3)
py
Accepted
18
2940
160
go=0 nana=0 num = input().split() for i in num: if i == "5": go+=1 if i == "7": nana+=1 if (go==2) and (nana==1): print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,333
s735631977
p04043
u762540523
1566358763
Python
Python (3.4.3)
py
Accepted
17
2940
70
print("YES" if sorted(list(input().split()))==["5","5","7"] else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,334
s407352702
p04043
u058850663
1566330880
Python
Python (3.4.3)
py
Accepted
17
2940
147
# -*- coding: utf-8 -*- a = list(map(int, input().split())) b = a.count(5) c = a.count(7) if b == 2 and c == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,335
s833004238
p04043
u665367149
1566330292
Python
Python (3.4.3)
py
Accepted
17
3060
188
haiku_list = list(map(int, input().split())) if haiku_list==[5, 5, 7]: print('YES') elif haiku_list==[5, 7, 5]: print('YES') elif haiku_list==[7, 5, 5]: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,336
s549807294
p04043
u665367149
1566330275
Python
Python (3.4.3)
py
Accepted
17
3060
188
haiku_list = list(map(int, input().split())) if haiku_list==[5, 5, 7]: print('YES') elif haiku_list==[5, 7, 5]: print('YES') elif haiku_list==[7, 5, 5]: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,337
s410326449
p04043
u207241407
1566325842
Python
Python (3.4.3)
py
Accepted
17
2940
200
iroha_list = list(map(int, input().split())) iroha_set = set(iroha_list) if sum(iroha_list) != 17: print("NO") else: if iroha_set == {5, 7}: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,338
s100535775
p04043
u625963200
1566306832
Python
Python (3.4.3)
py
Accepted
17
2940
161
a,b,c=map(int,input().split()) inputs=[a,b,c] flag=0 if inputs.count(5)==2: if inputs.count(7)==1: print('YES') flag=1 if flag==0: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,339
s863831574
p04043
u798316285
1566279550
Python
Python (3.4.3)
py
Accepted
18
2940
84
L=list(map(int,input().split())) print("YES" if L.count(5)==2 and 7 in L else("NO"))
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,340
s063812402
p04043
u026678302
1566268716
Python
Python (3.4.3)
py
Accepted
17
2940
225
test=list(map(int, input().split())) def iroha(): if test==[5,5,7]: print("YES") elif test==[5,7,5]: print("YES") elif test==[7,5,5]: print("YES") else: print("NO") iroha()
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,341
s292611720
p04043
u471684875
1566268049
Python
Python (3.4.3)
py
Accepted
17
2940
108
l=list(map(int,input().split())) l.sort() if l==[5,5,7]: print('YES') elif l!=[5,5,7]: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,342
s892437284
p04043
u761105230
1566243741
Python
Python (3.4.3)
py
Accepted
17
2940
100
s = input().split() if s.count('5') == 2 and s.count('7') == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,343
s921970997
p04043
u488934106
1566240432
Python
Python (3.4.3)
py
Accepted
17
2940
106
ans = 0 A = list(map(int, input().split())) for x in A: ans += x print("YES" if ans == 17 else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,344
s618556342
p04043
u555356625
1566236067
Python
Python (3.4.3)
py
Accepted
17
2940
105
str = input().split() if str.count('5') == 2 and str.count('7') == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,345
s614590369
p04043
u771405286
1566228084
Python
Python (3.4.3)
py
Accepted
17
3060
228
import itertools A, B, C = map(int, input().split()) bln = False for l in itertools.permutations([A,B,C]): if l[0]==5 and l[1]==7 and l[2]==5: bln = True break else: continue print("YES" if bln else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,346
s899129648
p04043
u528720841
1566211712
Python
Python (3.4.3)
py
Accepted
17
2940
119
a = list(map(int, input().split())) a.sort() if a[0]==5 and a[1]==5 and a[2]==7: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,347
s936313731
p04043
u901538529
1566186521
Python
Python (3.4.3)
py
Accepted
19
2940
295
# スペース区切りの整数の入力 input_val = input() five_count = 0 seven_count = 0 for x in input_val: if x == '5': five_count += 1 continue if x == '7': seven_count += 1 if five_count == 2 and seven_count == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,348
s142269144
p04043
u982139831
1566185851
Python
Python (3.4.3)
py
Accepted
17
2940
175
N = input().split(" ") N = list(map(int,N)) thelist=[5,7,5] for i in N: try: thelist.remove(i) except: pass if len(thelist)==0: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,349
s935031293
p04043
u608108825
1566185362
Python
Python (3.4.3)
py
Accepted
18
2940
105
lists = list(map(int, input().split())) print('YES' if lists.count(5)==2 and lists.count(7)==1 else 'NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,350
s400176558
p04043
u264686117
1566182847
Python
Python (3.4.3)
py
Accepted
17
2940
86
s = input().split() print('YES' if s.count('5') == 2 and s.count('7') == 1 else 'NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,351
s891286110
p04043
u264265458
1566181712
Python
Python (3.4.3)
py
Accepted
17
2940
73
print("YES" if sorted(list(map(int,input().split())))==[5,5,7] else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,352
s133434888
p04043
u732963817
1566176212
Python
Python (3.4.3)
py
Accepted
18
2940
78
print("YES" if sorted(list(map(int, input().split()))) == [5, 5, 7] else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,353
s113220304
p04043
u492968387
1566172465
Python
Python (3.4.3)
py
Accepted
18
2940
214
def main(): inputs = input().split() if len(inputs)==3: if inputs.count("5")==2 and inputs.count("7")==1: print("YES") return print("NO") return if __name__ == "__main__": main()
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,354
s347742290
p04043
u187857228
1566167073
Python
Python (3.4.3)
py
Accepted
17
2940
158
def test(): s = input() a = s.count("7") b = s.count("5") print("YES" if a == 1 and b == 2 else "NO") if __name__ == "__main__": test()
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,355
s260580737
p04043
u291625518
1566166188
Python
Python (3.4.3)
py
Accepted
17
2940
100
s = input().split() if s.count("5") == 2 and s.count("7") == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,356
s706088391
p04043
u291625518
1566165898
Python
Python (3.4.3)
py
Accepted
19
2940
100
s = input().split() if s.count("5") == 2 and s.count("7") == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,357
s697607438
p04043
u256868077
1566147318
Python
Python (3.4.3)
py
Accepted
17
3060
207
a,b,c=map(int,input().split()) if(a==5): if(b==7 and c==5 or b==5 and c==7): print("YES") else: print("NO") elif(a==7): if(b==c==5): print("YES") else: print("NO") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,358
s840252253
p04043
u077898957
1566098700
Python
Python (3.4.3)
py
Accepted
17
2940
82
n = input().split() print('YES' if n.count('5')==2 and n.count('7')==1 else 'NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,359
s520825552
p04043
u589381719
1566081834
Python
Python (3.4.3)
py
Accepted
17
2940
76
s=list(input().split()) s.sort() print("YES" if "".join(s)=="557" else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,360
s741869985
p04043
u503111914
1566080432
Python
Python (3.4.3)
py
Accepted
18
2940
109
a = list(map(int,input().split())) if a.count(5) == 2 and a.count(7) == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,361
s865238938
p04043
u360116509
1566077988
Python
Python (3.4.3)
py
Accepted
17
2940
103
ABC = list(map(int, input().split())) print('YNEOS'[not (ABC.count(5) == 2 and ABC.count(7) == 1)::2])
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,362
s189772689
p04043
u901582103
1566068756
Python
Python (3.4.3)
py
Accepted
17
3064
65
a,b,c=sorted(input().split());print('YES'if a+b+c=='557'else'NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,363
s860913627
p04043
u640603056
1566058393
Python
Python (3.4.3)
py
Accepted
17
2940
92
s = input().split() if s.count("5")==2 and s.count("7")==1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,364
s360015068
p04043
u643714578
1566048823
Python
Python (3.4.3)
py
Accepted
17
2940
81
a,b,c=sorted(map(int,input().split())) print("YES" if a==b==5 and c==7 else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,365
s172991021
p04043
u271044469
1566020043
Python
Python (3.4.3)
py
Accepted
17
2940
233
n = list(map(int, input().split())) count_5 = 2 count_7 = 1 for i in range(len(n)): if n[i] == 5: count_5 -= 1 elif n[i] == 7: count_7 -= 1 if count_5==0 and count_7==0: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,366
s282394206
p04043
u183896397
1566019591
Python
Python (3.4.3)
py
Accepted
17
2940
102
A = [int(i) for i in input().split()] A.sort() if A == [5,5,7]: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,367
s043573551
p04043
u464912173
1566018036
Python
Python (3.4.3)
py
Accepted
17
2940
85
a,b,c = sorted(map(int, input().split())) print("YES" if a==b==5 and c ==7 else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,368
s071255575
p04043
u275861030
1566013526
Python
Python (3.4.3)
py
Accepted
17
2940
162
a, b, c = map(int, input().split()) if (a ==5 and b==5 and c ==7) or (a==5 and b==7 and c==5) or (a==7 and b==5 and c==5): print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,369
s740280891
p04043
u559103167
1566009382
Python
Python (3.4.3)
py
Accepted
17
2940
85
a,b,c = sorted(map(int, input().split())) print("YES" if a==b==5 and c ==7 else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,370
s199602790
p04043
u792670114
1566003458
Python
Python (3.4.3)
py
Accepted
17
2940
132
A, B, C = map(int, input().split()) A, B, C = sorted([A, B, C]) if A == 5 and B == 5 and C == 7: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,371
s307885862
p04043
u628018347
1566003420
Python
Python (3.4.3)
py
Accepted
20
2940
252
x = list(map(int, input().split())) a = 0 for i in x: if i != 5 and i != 7: a = 1 break if a == 0: if sum(x) == 17: print('YES') else: print('NO') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,372
s446478384
p04043
u736153993
1565956727
Python
Python (3.4.3)
py
Accepted
17
2940
102
a = input().split() if a.count('5') == 2 and a.count('7') == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,373
s003454677
p04043
u029929095
1565936127
Python
Python (3.4.3)
py
Accepted
17
2940
82
n=sum(list(map(int,input().split()))) if n==17: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,374
s202571222
p04043
u598229387
1565928605
Python
Python (3.4.3)
py
Accepted
17
2940
109
a,b,c = map(int, input().split()) abc = [a,b,c] print('YES' if abc.count(5)==2 and abc.count(7)==1 else 'NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,375
s379501649
p04043
u999799597
1565921489
Python
Python (2.7.6)
py
Accepted
15
2812
560
from collections import defaultdict strings = raw_input().split() # a, b, c = int(strings[0]), int(strings[1]), int(strings[2]) cand = { '5': 2, '7': 1 } source = defaultdict(int) for i in range(len(strings)): if strings[i] == '5': if source[strings[i]]: source[strings[i]] += 1 e...
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,376
s196789464
p04043
u693694535
1565916164
Python
Python (3.4.3)
py
Accepted
17
2940
105
A = sorted(map(int, input().split())) B=[5,5,7] if A==B: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,377
s221505436
p04043
u248670337
1565903735
Python
Python (3.4.3)
py
Accepted
17
2940
79
n=input().split() print("YES" if n.count("5")==2 and n.count("7")==1 else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,378
s414282791
p04043
u475503988
1565897688
Python
Python (3.4.3)
py
Accepted
17
2940
108
abc = list(map(int, input().split())) abc.sort() if abc == [5, 5, 7]: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,379
s397879525
p04043
u247922466
1565848750
Python
Python (3.4.3)
py
Accepted
17
2940
200
def A_IrohaandHaiku(): A = list(map(int, input().split())) A.sort() ans = "NO" if [5,5,7] == A: ans = "YES" print(ans) if __name__ == "__main__": A_IrohaandHaiku()
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,380
s954484816
p04043
u251075661
1565841668
Python
Python (3.4.3)
py
Accepted
17
2940
185
five = 0 seven = 0 for i in input().split(): if int(i) == 5: five += 1 elif int(i) == 7: seven += 1 if (five == 2) and (seven == 1): print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,381
s973894252
p04043
u821251381
1565840201
Python
Python (3.4.3)
py
Accepted
17
2940
78
haiku = ["5","5","7"] print("YES" if sorted(input().split())==haiku else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,382
s048000337
p04043
u830054172
1565837966
Python
Python (3.4.3)
py
Accepted
17
2940
100
a = sorted(list(map(int, input().split()))) if a == [5,5,7]: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,383
s786498940
p04043
u002459665
1565835475
Python
Python (3.4.3)
py
Accepted
17
2940
104
a = input().split() if a.count("5") == 2 and a.count("7") == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,384
s852711549
p04043
u842689614
1565834511
Python
Python (3.4.3)
py
Accepted
17
2940
103
a,b,c=input().split(' ') if [5,5,7]==sorted([int(a),int(b),int(c)]): print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,385
s280247835
p04043
u994988729
1565831792
Python
Python (3.4.3)
py
Accepted
19
2940
113
abc=list(map(int,input().split())) if abc.count(5)==2 and abc.count(7)==1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,386
s770586360
p04043
u256464928
1565816114
Python
Python (3.4.3)
py
Accepted
17
2940
92
x = list(map(int,input().split())) print("YES" if x.count(5)==2 and x.count(7)==1 else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,387
s278891865
p04043
u812023932
1565812149
Python
Python (3.4.3)
py
Accepted
17
2940
128
A, B, C = map(int, input().split()) if [A, B, C].count(5) == 2 and [A, B, C].count(7) == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,388
s419499652
p04043
u785470389
1565810763
Python
Python (3.4.3)
py
Accepted
17
3060
234
a, b, c = map(int, input().split()) if a == 7: if b == 5 and c ==5: print("YES") else: print("NO") elif a == 5: if (b == 5 and c == 7) or (b == 7 and c == 5): print("YES") else: print("NO") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,389
s577259423
p04043
u360515075
1565808189
Python
Python (3.4.3)
py
Accepted
21
3316
124
from collections import Counter A = Counter(map(int, input().split())) print ("YES "if (A[5] == 2 and A[7] == 1) else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,390
s759934966
p04043
u390170391
1565806179
Python
Python (3.4.3)
py
Accepted
17
2940
102
lis = list(map(int,input().split())) lis.sort() if lis == [5,5,7]: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,391
s905647810
p04043
u600448929
1565802968
Python
Python (3.4.3)
py
Accepted
17
2940
102
l = list(map(int, input().split())) l.sort() if l == [5, 5, 7]: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,392
s400804472
p04043
u143903328
1565797110
Python
Python (3.4.3)
py
Accepted
18
2940
130
a = list(map(int,input().split())) a.sort() if a[0] == 5 and a[1] == 5 and a[2] == 7: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,393
s731774165
p04043
u111365362
1565758288
Python
Python (3.4.3)
py
Accepted
18
2940
103
#ABC043 l = list(map(int,input().split())) l.sort() if l == [5,5,7]: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,394
s353955351
p04043
u350248178
1565756835
Python
Python (3.4.3)
py
Accepted
17
2940
103
a,b,c=map(int,input().split()) if a*b*c==5*7*5 and a+b+c==5+7+5: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,395
s084036492
p04043
u381572531
1565744602
Python
Python (3.4.3)
py
Accepted
17
2940
113
s=list(map(int, input().split())) if s.count(5)==2 and s.count(7)==1: ans = "YES" else: ans = "NO" print(ans)
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,396
s127217804
p04043
u753803401
1565738862
Python
Python (3.4.3)
py
Accepted
21
3316
197
import collections a = collections.Counter(list(map(int, input().split()))).items() for k, v in a: if (k != 5 or v != 2) and (k != 7 or v != 1): print("NO") exit() print("YES")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,397
s539742200
p04043
u880985077
1565667048
Python
Python (3.4.3)
py
Accepted
19
2940
113
array = input().split() if (array.count('5') == 2 and array.count('7') == 1): print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,398
s778168962
p04043
u811000506
1565661658
Python
Python (3.4.3)
py
Accepted
17
2940
103
li = list(map(int,input().split())) li.sort() if li[:]==[5,5,7]: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,399
s734722221
p04043
u405660020
1565657363
Python
Python (3.4.3)
py
Accepted
17
2940
110
a=sorted(map(int,input().split())) if a[0]==5 and a[1]==5 and a[2]==7: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,400
s963287858
p04043
u820461302
1565652117
Python
Python (3.4.3)
py
Accepted
17
2940
158
# -*- coding: utf-8 -*- # 整数の入力 s = input().split(" ") # 5,7,5を判定 if s.count('5') == 2 and s.count('7') == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,401
s785541436
p04043
u450904670
1565635282
Python
Python (3.4.3)
py
Accepted
17
2940
93
arr = input().split() print("YES" if(arr.count("5") == 2 and arr.count("7") == 1) else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,402
s494896370
p04043
u433532588
1565612847
Python
Python (3.4.3)
py
Accepted
17
2940
98
s = list(map(int, input().split())) print('YES' if s.count(5) == 2 and s.count(7) == 1 else 'NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,403
s945875530
p04043
u433532588
1565612712
Python
Python (3.4.3)
py
Accepted
17
2940
109
s = list(map(int, input().split())) s.sort() print('YES' if s[0] == 5 and s[1] == 5 and s[2] == 7 else 'NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,404
s873933314
p04043
u231122239
1565608226
Python
Python (3.4.3)
py
Accepted
18
2940
77
s = input() print('YES' if s.count('5') == 2 and s.count('7') == 1 else 'NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,405
s635187415
p04043
u160659351
1565570053
Python
Python (3.4.3)
py
Accepted
19
2940
120
li = list(input().rstrip().split()) if li.count("5") == 2 and li.count("7") == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,406
s791753780
p04043
u076917070
1565561938
Python
Python (3.4.3)
py
Accepted
17
2940
162
import sys input=sys.stdin.readline l = list(map(int, input().split())) l.sort() if l.count(5) == 2 and l.count(7) == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,407
s939828402
p04043
u820461302
1565559425
Python
Python (3.4.3)
py
Accepted
17
3060
404
# -*- coding: utf-8 -*- # 整数の入力 a, b, c = map(int, input().split()) # カウンタのクリア five_count = 0 seven_count = 0 # 5,7,5を判定 def setsu_check(x): global five_count, seven_count if x == 5: five_count+=1 elif x == 7: seven_count+=1 # 判定関数のCALL setsu_check(a) setsu_check(b) setsu_check(c) if five_count == 2 and seven_co...
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,408
s010055199
p04043
u874741582
1565535826
Python
Python (3.4.3)
py
Accepted
17
2940
84
a =list(map(int,input().split())) print("YES" if a.count(5)==2 and 7 in a else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,409
s310693586
p04043
u251515715
1565467334
Python
Python (3.4.3)
py
Accepted
17
2940
84
a=sorted(map(int,input().split())) if a==[5,5,7]: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,410
s231589446
p04043
u753803401
1565461615
Python
Python (3.4.3)
py
Accepted
17
2940
143
a, b, c = map(int, input().split()) print("YES" if (a == b == 5 and c == 7) or (b == c == 5 and a == 7) or (a == c == 5 and b == 7) else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,411
s695045753
p04043
u933179804
1565459510
Python
Python (3.4.3)
py
Accepted
17
2940
89
A, B, C = map(int, input().split()) if A*B*C == 5*5*7: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,412
s812226916
p04043
u025159619
1565424882
Python
Python (3.4.3)
py
Accepted
17
2940
66
print('YES' if sorted(input().split()) == ['5','5','7'] else 'NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,413
s024699176
p04043
u626337957
1565384372
Python
Python (3.4.3)
py
Accepted
17
2940
173
A, B, C = map(int, input().split()) if (A == 5 and B == 5 and C == 7) or (A == 5 and B == 7 and C == 5) or (A == 7 and B == 5 and C == 5): print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,414
s694831724
p04043
u493491792
1565383163
Python
Python (3.4.3)
py
Accepted
18
2940
107
lista=list(map(int,input().split())) lista.sort() if lista==[5,5,7]: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,415
s556882787
p04043
u939581910
1565379586
Python
Python (3.4.3)
py
Accepted
17
2940
107
x=[i for i in map(int,input().split())] if x.count(5)==2 and x.count(7): print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,416