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
s553257807
p04043
u936885469
1587245066
Python
Python (3.4.3)
py
Accepted
17
2940
126
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,210,217
s616484020
p04043
u697386253
1587240674
Python
Python (3.4.3)
py
Accepted
17
2940
115
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,210,218
s646920313
p04043
u494748969
1587225380
Python
Python (3.4.3)
py
Accepted
18
3060
313
a, b, c = map(int, input().split()) count_5 = 0 count_7 = 0 if a == 5: count_5 += 1 elif a == 7: count_7 += 1 if b == 5: count_5 += 1 elif b == 7: count_7 += 1 if c == 5: count_5 += 1 elif c == 7: count_7 += 1 if count_5 == 2 and 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,210,219
s149541554
p04043
u560557614
1587181907
Python
Python (3.4.3)
py
Accepted
17
2940
103
a = list(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,210,220
s955285800
p04043
u108597410
1587174257
Python
Python (3.4.3)
py
Accepted
17
2940
97
S = list(map(int, input().split())) S.sort() if S == [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,210,221
s216097349
p04043
u486990800
1587154191
Python
Python (3.4.3)
py
Accepted
17
2940
96
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,210,222
s822713954
p04043
u344959886
1587152713
Python
Python (3.4.3)
py
Accepted
17
3060
103
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,210,223
s691983554
p04043
u383508661
1587150990
Python
Python (3.4.3)
py
Accepted
17
2940
119
a=input().split() five=a.count("5") seven=a.count("7") 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,210,224
s085928347
p04043
u738269785
1587112894
Python
Python (3.4.3)
py
Accepted
17
2940
129
a = [int(x) for x in input().split()] if a.count(7) == 1 and a.count(5) == 2 and len(a) == 3: 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,210,225
s130682804
p04043
u508273185
1587100276
Python
Python (3.4.3)
py
Accepted
17
2940
101
abc = input().split() #print(a) 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,210,226
s158573670
p04043
u046247133
1587092958
Python
Python (3.4.3)
py
Accepted
17
2940
134
haiku = input().split() five = haiku.count("5") seven = haiku.count("7") 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,210,227
s851801925
p04043
u280552586
1587086919
Python
Python (3.4.3)
py
Accepted
17
2940
104
abc = list(map(int, input().split())) 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,210,228
s629623188
p04043
u171803978
1587073214
Python
Python (3.4.3)
py
Accepted
16
2940
202
array = list(map(int, input().split())) array.sort() if array[0] == 5 and array[1] == 5 and array[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,210,229
s531811700
p04043
u580316619
1587031052
Python
Python (3.4.3)
py
Accepted
17
2940
89
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,210,230
s886055205
p04043
u340781749
1587009659
Python
Python (3.4.3)
py
Accepted
17
2940
92
abc = list(map(int, input().split())) abc.sort() print('YES' if abc == [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,210,231
s650792805
p04043
u652656291
1587006147
Python
Python (3.4.3)
py
Accepted
17
2940
109
a=list(map(int,input().split())) if a.count(7)==1 and a.count(5)==2: 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,210,232
s259150143
p04043
u652656291
1587006103
Python
Python (3.4.3)
py
Accepted
17
3064
173
a,b,c = map(int,input().split()) if a == b == 5 or b == c == 5 or c == a == 5: if a == 7 or b == 7 or c == 7: 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,210,233
s370427431
p04043
u505830998
1587003778
Python
Python (3.4.3)
py
Accepted
17
3064
829
import sys input_methods=['clipboard','file','key'] using_method=0 input_method=input_methods[using_method] IN=lambda : map(int, input().split()) mod=1000000007 #+++++ def main(): #a = int(input()) al = list(IN()) #s = input() al.sort() return 'YES' if al == [5,5,7] else 'NO' #+++++ isTest=False def pa(...
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,210,234
s346043673
p04043
u752898745
1587002545
Python
Python (3.4.3)
py
Accepted
17
3060
218
def irohachan(A,B,C): if (A == 5 or A ==7) and (B == 5 or B ==7) and (C == 5 or C ==7) and (A+B+C ==17): print("YES") else: print("NO") A,B,C = list(map(int, input().split())) irohachan(A,B,C)
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,210,235
s223727279
p04043
u068750695
1586991160
Python
Python (3.4.3)
py
Accepted
17
2940
108
a=list(map(int,input().split())) if a.count(7)==1 and a.count(5)==2: 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,210,236
s752576302
p04043
u964007550
1586981359
Python
Python (3.4.3)
py
Accepted
20
3060
132
A, B, C = map(int, input().split()) List = [A, B, C] if List.count(5) == 2 and List.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,210,237
s886084253
p04043
u023229441
1586977364
Python
Python (3.4.3)
py
Accepted
18
2940
99
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,210,238
s335000030
p04043
u556161636
1586955045
Python
Python (3.4.3)
py
Accepted
17
2940
166
lst=list(map(int,input().split())) if 7 in lst: lst.remove(5) else: ans='NO' if 5 in lst: lst.remove(7) else: ans='NO' if 5 in lst: ans='YES' 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,210,239
s680626989
p04043
u401949008
1586934541
Python
Python (3.4.3)
py
Accepted
17
2940
84
a,b,c=map(int,input().split()) if a*b*c==175: 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,210,240
s930226236
p04043
u469392996
1586928235
Python
Python (3.4.3)
py
Accepted
17
2940
111
inp = (input().split()) if inp.count('5') == 2 and inp.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,210,241
s602099632
p04043
u752898745
1586916628
Python
Python (3.4.3)
py
Accepted
17
2940
162
A,B,C = list(map(int, input().split())) if (A == 5 or A ==7) and (B == 5 or B ==7) and (C == 5 or C ==7) 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,210,242
s921057498
p04043
u692178082
1586908902
Python
Python (3.4.3)
py
Accepted
17
3060
235
example = ('5', '7', '5') five = 0 seven = 0 ipt = [] s = input() s = s.split() for i in s: if i == '5': five += 1 elif 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,210,243
s025890793
p04043
u342456871
1586896472
Python
Python (3.4.3)
py
Accepted
17
3060
205
a = list(map(int, input().split())) ans5 = 0 ans7 = 0 for i in range(3): if (a[i] == 5): ans5 += 1 elif (a[i] == 7): ans7 += 1 if (ans5 == 2 and ans7 == 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,210,244
s428600030
p04043
u515647766
1586890165
Python
Python (3.4.3)
py
Accepted
17
2940
168
def ispossible(list1): if list1.count("5") == 2 and list1.count("7") == 1: return "YES" else: return "NO" list1 = input().split() print(ispossible(list1))
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,210,245
s110715072
p04043
u808193913
1586832434
Python
Python (3.4.3)
py
Accepted
17
2940
92
a,b,c = list(map(int,input().split())) if(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,210,246
s730410129
p04043
u054717609
1586825132
Python
Python (3.4.3)
py
Accepted
18
3060
213
a, b,c = map(int,input().split()) if(a==5 and b==7 and c==5): print("YES") elif(a==5 and b==5 and c==7): print("YES") elif(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,210,247
s466658895
p04043
u217303170
1586810627
Python
Python (3.4.3)
py
Accepted
17
2940
99
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,210,248
s065326412
p04043
u848667447
1586808540
Python
Python (3.4.3)
py
Accepted
17
2940
188
s = list(map(int, input().split())) a = 0 b = 0 for i in s: if i == 5: a += 1 elif i == 7: b += 1 if a == 2 and b == 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,210,249
s377614235
p04043
u239475827
1586807982
Python
Python (3.4.3)
py
Accepted
17
2940
131
a, b, c = map(str, input().split()) N = a + b + c if N == "557" or N == "575" or N == "755": 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,210,250
s033382877
p04043
u759884285
1586807072
Python
Python (3.4.3)
py
Accepted
17
2940
106
X = input() X = str(X) if X == "5 5 7" or X == "5 7 5" or X == "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,210,251
s597229411
p04043
u288233771
1586800282
Python
Python (3.4.3)
py
Accepted
17
2940
139
a = input().split(" ") for i in range(3): a[i] = int(a[i]) # print(a) if sorted(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,210,252
s516845550
p04043
u048176319
1586764736
Python
Python (3.4.3)
py
Accepted
17
2940
215
a, b, c = map(int, input().split()) if a == 5 and b == 5 and c == 7: print("YES") elif a == 5 and b == 7 and c == 5: print("YES") elif 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,210,253
s738216997
p04043
u568789901
1586752284
Python
Python (3.4.3)
py
Accepted
17
2940
99
a,b,c=map(int,input().split()) if a+b+c==17 and a*b*c==175: 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,210,254
s673404625
p04043
u381712637
1586752177
Python
Python (3.4.3)
py
Accepted
17
3060
312
a, b, c = map(int,input().split()) if a == 7: if b==5 and c ==5: print ("YES") else: print ("NO") elif b != 7 and c !=7: print ("NO1") elif b ==7: if a==5 and c ==5: print ("YES") else: print ("NO") elif a==5 and b ==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,210,255
s335226621
p04043
u099187672
1586747049
Python
Python (3.4.3)
py
Accepted
17
2940
160
a,b,c = map(int,input().split()) suming =0 def haiku(a,b,c): suming = a+b+c if suming == 17: print("YES") else: print("NO") haiku(a,b,c)
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,210,256
s841104299
p04043
u423665486
1586737975
Python
Python (3.4.3)
py
Accepted
17
2940
119
def resolve(): x, y, z = map(int, input().split()) if x + y + z == 17: print("YES") else: print("NO") resolve()
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,210,257
s061326851
p04043
u576432509
1586728316
Python
Python (3.4.3)
py
Accepted
17
2940
164
icase=42 if icase==42: 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,210,258
s587527625
p04043
u239772565
1586720409
Python
Python (3.4.3)
py
Accepted
17
2940
198
A,B,C = input().split() if A == B == "5"and C == "7": print("YES") elif A == C == "5" and B == "7": print("YES") elif B == C == "5" and A == "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,210,259
s411737675
p04043
u239772565
1586719827
Python
Python (3.4.3)
py
Accepted
16
2940
194
A,B,C = map(int,input().split()) if A == B == 5 and C == 7: print("YES") elif A == C == 5 and B == 7: print("YES") elif B == C == 5 and A ==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,210,260
s423933748
p04043
u975644365
1586717471
Python
Python (3.4.3)
py
Accepted
17
3060
331
def prod(ls): def resolve(ls, a): if len(ls) == 1: return a*ls[0] else: car = ls[0] ls = ls[1:] return resolve(ls, a*car) return resolve(ls, 1) ls = list(map(int, input().split())) if sum(ls) == 17 and prod(ls) == 175: print("YES") else : ...
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,210,261
s655138448
p04043
u519939795
1586710037
Python
Python (3.4.3)
py
Accepted
17
2940
83
a=list((input())) print('YES' if a.count(('5'))==2 and a.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,210,262
s829367290
p04043
u238956837
1586707569
Python
Python (3.4.3)
py
Accepted
17
2940
113
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,210,263
s015288383
p04043
u112747720
1586677934
Python
Python (3.4.3)
py
Accepted
17
3060
254
A, B, C = [int(i) for i in input().split(' ')] if A == 7 or B == 7 or C == 7: if A == 5 and B == 5: print('YES') elif A == 5 and C == 5: print('YES') elif 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,210,264
s754213358
p04043
u568789901
1586670398
Python
Python (3.4.3)
py
Accepted
17
2940
99
a,b,c=map(int,input().split()) if a+b+c==17 and a*b*c==175: 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,210,265
s841053869
p04043
u246343119
1586666640
Python
Python (3.4.3)
py
Accepted
17
2940
143
a, b, c = map(int, input().split()) l = [a, b, c] l.sort() if l[0] == 5 and l[1] == 5 and l[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,210,266
s522854867
p04043
u835283937
1586659257
Python
Python (3.4.3)
py
Accepted
17
2940
156
def main(): l = [int(a) for a in input().split()] if l.count(5) == 2 and l.count(7) == 1: print("YES") else: print("NO") 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,210,267
s263482256
p04043
u634079249
1586650227
Python
Python (3.4.3)
py
Accepted
17
3064
739
import sys import os import math ii = lambda: int(sys.stdin.buffer.readline().rstrip()) il = lambda: list(map(int, sys.stdin.buffer.readline().split())) fl = lambda: list(map(float, sys.stdin.buffer.readline().split())) iln = lambda n: [int(sys.stdin.buffer.readline().rstrip()) for _ in range(n)] iss = lambda: sys.st...
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,210,268
s962190774
p04043
u996665352
1586648943
Python
Python (3.4.3)
py
Accepted
17
2940
85
a = input().split() print("YES" if a.count("5") == 2 and a.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,210,269
s544328713
p04043
u996665352
1586648894
Python
Python (3.4.3)
py
Accepted
17
2940
136
a,b,c=map(int, input().split()) if a+b+c!=17: print("NO") elif a==b==5 or b==c==5 or c==a==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,210,270
s959431158
p04043
u006817280
1586641452
Python
Python (3.4.3)
py
Accepted
21
3316
162
import collections def solve(): pass arr = list(map(int, input().strip().split())) arr.sort() print("YES" if "".join(map(str, arr)) == "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,210,271
s699461525
p04043
u881028805
1586638229
Python
Python (3.4.3)
py
Accepted
17
2940
190
S = input().split() count1 = 0 count2 = 0 for s in S: if s == "5": count1 += 1 elif s == "7": count2 += 1 if count1 == 2 and count2 == 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,210,272
s466771980
p04043
u141410514
1586635373
Python
Python (3.4.3)
py
Accepted
17
2940
104
a=list(map(int,input().split())) a.sort() 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,210,273
s731254325
p04043
u106489129
1586635221
Python
Python (3.4.3)
py
Accepted
17
2940
111
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,210,274
s619869063
p04043
u982591663
1586606780
Python
Python (3.4.3)
py
Accepted
17
2940
122
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,210,275
s218408556
p04043
u013202780
1586578447
Python
Python (3.4.3)
py
Accepted
16
2940
117
input_line=input() if input_line.count("5")==2 and input_line.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,210,276
s500012578
p04043
u032798323
1586551787
Python
Python (3.4.3)
py
Accepted
17
2940
101
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,210,277
s640039011
p04043
u457957084
1586541981
Python
Python (3.4.3)
py
Accepted
16
2940
207
a, b, c = map(int,input().split()) if a == 5 and b == 5 and c == 7: print('YES') elif a == 5 and b == 7 and c == 5: print('YES') elif 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,210,278
s175514380
p04043
u903005414
1586529643
Python
Python (3.4.3)
py
Accepted
17
2940
108
A = sorted(list(map(int, input().split()))) print('YES' if A[0] == 5 and A[1] == 5 and A[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,210,279
s657916940
p04043
u246639932
1586504258
Python
Python (3.4.3)
py
Accepted
17
2940
96
li = list(map(int, input().split())) print("YES" if li.count(5)==2 and li.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,210,280
s572137946
p04043
u788337030
1586485862
Python
Python (3.4.3)
py
Accepted
18
2940
170
a = list(map(int, input().split())) c7 = 0 c5 = 0 for x in a: if x == 7: c7 += 1 if x == 5: c5 += 1 if c7 == 1 and c5 == 2: 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,210,281
s973581102
p04043
u172780602
1586471875
Python
Python (3.4.3)
py
Accepted
17
2940
146
a=list(map(int,input().split())) if a.count(5)==2: if a.count(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,210,282
s333348491
p04043
u289162337
1586463706
Python
Python (3.4.3)
py
Accepted
17
2940
143
a, b, c = map(int, input().split()) if a+b+c == 17: if set([a, b, c]) == {5, 7}: 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,210,283
s145612994
p04043
u831081653
1586461411
Python
Python (3.4.3)
py
Accepted
17
2940
136
list = list(map(int, input().split())) # list = [a,b,c] if list.count(5)==2 and list.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,210,284
s225254286
p04043
u806084713
1586461282
Python
Python (3.4.3)
py
Accepted
17
2940
152
i = list(map(int, input().split())) if 7 in i: i.remove(7) if i[0] == 5 and i[1] == 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,210,285
s158514161
p04043
u373047809
1586452682
Python
Python (3.4.3)
py
Accepted
17
2940
61
print("YNEOS"[sorted(map(int, input().split()))!=[5,5,7]::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,210,286
s381083752
p04043
u565290770
1586410785
Python
Python (3.4.3)
py
Accepted
17
2940
120
list = list(map(int, input().split())) if list.count(5) == 2 and list.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,210,287
s458287264
p04043
u698988260
1586406298
Python
Python (3.4.3)
py
Accepted
16
2940
96
A, B, C = map(int, input().split()) if ((A*B*C)%175==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,210,288
s928543246
p04043
u102223485
1586401478
Python
Python (3.4.3)
py
Accepted
17
2940
142
# coding: utf-8 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,210,289
s779993242
p04043
u952968889
1586400909
Python
Python (3.4.3)
py
Accepted
18
2940
126
a = list(map(int, input().split())) if 5 in a: if 7 in a: if sum(a) == 17: print("YES") exit() 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,210,290
s483639917
p04043
u934442292
1586393056
Python
Python (3.4.3)
py
Accepted
17
3060
381
import sys input = sys.stdin.readline def main(): A, B, C = map(int, input().split()) cnt_5 = 0 for i in [A, B, C]: if i == 5: cnt_5 += 1 cnt_7 = 0 for i in [A, B, C]: if i == 7: cnt_7 += 1 if cnt_5 == 2 and cnt_7 == 1: print("YES") else:...
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,210,291
s974440282
p04043
u583507988
1586362003
Python
Python (3.4.3)
py
Accepted
17
3060
183
A,B,C = map(int, input().split()) if A==5 and B==5 and C==7: print("YES") elif A==5 and B==7 and C==5: print("YES") elif 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,210,292
s441606231
p04043
u451206510
1586359011
Python
Python (3.4.3)
py
Accepted
17
2940
84
A = list(map(int, input().split())) A.sort() print("YES" if A == [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,210,293
s622616334
p04043
u312784236
1586314846
Python
Python (3.4.3)
py
Accepted
17
2940
131
a,b,c=map(int, input().split()) l=[a,b,c] if 2==l.count(5): if 1==l.count(7): print('YES') exit() 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,210,294
s159822176
p04043
u535171899
1586312295
Python
Python (3.4.3)
py
Accepted
17
3060
183
a,b,c = map(int,input().split()) count5 = len([x for x in [a,b,c] if x==5]) count7 = len([x for x in [a,b,c] if x==7]) if count5==2 and count7==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,210,295
s750671463
p04043
u201802797
1586297899
Python
Python (3.4.3)
py
Accepted
17
2940
94
import math if sorted(input().split())==['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,210,296
s394152406
p04043
u235210692
1586229913
Python
Python (3.4.3)
py
Accepted
17
2940
98
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,210,297
s558141017
p04043
u684906944
1586225634
Python
Python (3.4.3)
py
Accepted
17
2940
95
a, b, c = map(int, input().split()) ans = "NO" if a*b*c % 175 == 0: ans = "YES" 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,210,298
s806611644
p04043
u810356688
1586223344
Python
Python (3.4.3)
py
Accepted
17
2940
108
a,b,c = sorted(list(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,210,299
s778105440
p04043
u730449065
1586218065
Python
Python (3.4.3)
py
Accepted
17
2940
211
l = list(map(int, input().split())) count = count2 = 0 for i in range(3): if(l[i] == 5): count+=1 elif(l[i] == 7): count2 += 1 if(count == 2 and count2 == 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,210,300
s918178143
p04043
u772649753
1586204834
Python
Python (3.4.3)
py
Accepted
17
2940
125
n = list(map (int, input().split())) if n.count(int (5)) == 2 and n.count(int (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,210,301
s300517408
p04043
u870841038
1586200810
Python
Python (3.4.3)
py
Accepted
17
2940
124
n = list(map(int, input().split())) if n.count(int(5)) == 2 and n.count(int(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,210,302
s440325742
p04043
u598445703
1586200239
Python
Python (3.4.3)
py
Accepted
17
3060
159
# -*- coding: utf-8-*- a = [] a = list(map(int,input().split())) if (a[0] + a[1] + a[2] == 17) and (7 in a) and (5 in a): 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,210,303
s559653475
p04043
u000770457
1586180788
Python
Python (3.4.3)
py
Accepted
18
2940
129
a=list(map(int,input().split())) five=a.count(5) seven=a.count(7) 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,210,304
s346714108
p04043
u782638765
1586137851
Python
Python (3.4.3)
py
Accepted
17
2940
148
a = list(map(int, input().split())) if a.count(5)==2: if a.count(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,210,305
s934967034
p04043
u158032363
1586133279
Python
Python (3.4.3)
py
Accepted
17
2940
128
value = input() if value.count("5") ==2: if value.count("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,210,306
s629304336
p04043
u782638765
1586130588
Python
Python (3.4.3)
py
Accepted
18
2940
132
value = input() if value.count("5") ==2: if value.count("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,210,307
s720795581
p04043
u114233208
1586129805
Python
Python (3.4.3)
py
Accepted
17
2940
131
phrases = list(map(int, input().split(' '))) if phrases.count(5) == 2 and phrases.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,210,308
s543504074
p04043
u920604133
1586120522
Python
Python (3.4.3)
py
Accepted
18
2940
100
A= [int(x) for x 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,210,309
s018610385
p04043
u939198091
1586110473
Python
Python (3.4.3)
py
Accepted
17
3060
319
def solve(lst): count_5 = 2 count_7 = 1 for i in lst: if i == 5: count_5 -= 1 elif i == 7: count_7 -= 1 else: return False return count_5 == 0 and count_7 == 0 if __name__ == "__main__": l = list(map(int,input().split())) if solve(l): 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,210,310
s271614274
p04043
u959225525
1586107565
Python
Python (3.4.3)
py
Accepted
17
2940
113
abc=list(map(int,input().split())) if (5 and 7 in abc) and sum(abc)==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,210,311
s225142929
p04043
u015597249
1586105441
Python
Python (3.4.3)
py
Accepted
17
2940
130
a, b, c = map(int, input().split(' ')) if a + b + c != 17: print('NO') elif a * b * c != 175: print('NO') else: 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,210,312
s601816789
p04043
u060793972
1586105086
Python
Python (3.4.3)
py
Accepted
17
2940
81
if sorted(input().split())==['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,210,313
s310889422
p04043
u279266699
1586042382
Python
Python (3.4.3)
py
Accepted
17
2940
154
li = list(map(int, input().split())) count_5 = li.count(5) count_7 = li.count(7) if count_5 == 2 and 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,210,314
s665134652
p04043
u341543478
1586033572
Python
Python (3.4.3)
py
Accepted
17
2940
201
l = list(map(int, input().split())) five = 0 seven = 0 for i in l: if i == 5: five +=1 elif 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,210,315
s226142113
p04043
u870297120
1586005532
Python
Python (3.4.3)
py
Accepted
17
2940
126
nums = list(map(int, input().split(' '))) if nums.count(5) == 2 and nums.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,210,316