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
s071294957
p04043
u572193732
1581012489
Python
Python (3.4.3)
py
Accepted
17
2940
131
A = list(map(int, input().split())) A = sorted(A) 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,617
s255302365
p04043
u131267733
1580962306
Python
Python (3.4.3)
py
Accepted
17
2940
114
a,b,c = 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,210,618
s069871128
p04043
u325206354
1580953902
Python
Python (3.4.3)
py
Accepted
18
2940
113
# -*- coding: utf-8 -*- a = list(map(int,input().split())) if sum(a)==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,619
s723939408
p04043
u885440767
1580939939
Python
Python (3.4.3)
py
Accepted
18
2940
104
x = list(map(int, input().split())) x.sort() if(x == [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,620
s966104249
p04043
u885440767
1580939815
Python
Python (3.4.3)
py
Accepted
17
2940
167
x = list(map(int,input().split())) n5=0 n7=0 for i in range(len(x)): if(x[i]==5):n5=n5+1 if(x[i]==7):n7=n7+1 if(n5==2 and n7==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,621
s468757146
p04043
u141574039
1580928028
Python
Python (3.4.3)
py
Accepted
17
2940
122
A=list(map(int,input().split())) p=17 for i in A: if i==5 or i==7: p=p-i if p==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,622
s950618980
p04043
u751843916
1580928013
Python
Python (3.4.3)
py
Accepted
17
2940
106
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,623
s808607478
p04043
u047816928
1580919108
Python
Python (3.4.3)
py
Accepted
17
2940
74
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,210,624
s673564733
p04043
u779308281
1580869251
Python
Python (3.4.3)
py
Accepted
17
3060
365
b = input().split() #aの文字列を空白で区切る c = [int(s) for s in b] #bのそれぞれの要素に対して数値にしてリストに格納 num5 = 0 num7 = 0 for i in range(len(c)): if c[i] == 5: num5 += 1 continue if c[i] == 7: num7 +=1 continue if num5 == 2 and num7 == 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,625
s239878728
p04043
u901341592
1580851735
Python
Python (3.4.3)
py
Accepted
17
2940
139
# coding: utf-8 data = list(map(int,input().split())) if 2 == data.count(5) and 1 == data.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,210,626
s445362756
p04043
u871176343
1580850595
Python
Python (3.4.3)
py
Accepted
17
2940
94
abc = list(map(int,input().split())) print("YES" if sum(abc) == 17 and abc.count(5) 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,627
s664173253
p04043
u361826811
1580831984
Python
Python (3.4.3)
py
Accepted
17
2940
322
""" author : halo2halo date : 4, Feb, 2020 """ import sys # import itertools # import numpy as np read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines S = readline().decode('utf8').rstrip().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,210,628
s873738576
p04043
u189089176
1580827038
Python
Python (3.4.3)
py
Accepted
17
2940
329
# A - 和風いろはちゃんイージー / Iroha and Haiku (ABC Edition) # https://atcoder.jp/contests/abc042/tasks/abc042_a nums = list(map(int,input().split())) for i in [5,7,5]: if i in nums: nums.remove(i) else: print("NO") exit() if len(nums) == 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,629
s035208065
p04043
u744521311
1580768650
Python
Python (3.4.3)
py
Accepted
17
2940
192
a,b,c = map(int,input().rstrip().split()) if a==5 and b==7 and c==5: print("YES") elif a==7 and b==5 and c==5: print("YES") elif 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,210,630
s478932383
p04043
u785066634
1580766615
Python
Python (3.4.3)
py
Accepted
17
2940
178
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,631
s120976404
p04043
u353855427
1580763596
Python
Python (3.4.3)
py
Accepted
18
2940
189
A = list(map(int,input().split())) cnt_5 = 0 cnt_7 = 0 for i in range(3): if A[i] == 5: cnt_5+=1 if A[i] == 7: cnt_7 +=1 if cnt_5 == 2 and cnt_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,632
s811381933
p04043
u310466455
1580747290
Python
Python (3.4.3)
py
Accepted
17
2940
150
a = input().split() answer = [5,5,7] my=[] for i in range(3): my.append(int(a[i])) my.sort() if answer == my: 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,633
s925670960
p04043
u556610039
1580739820
Python
Python (3.4.3)
py
Accepted
17
3064
296
a, b, c = map(int, input().split()) fiveCount = 0 sevenCount = 0 if a == 5: fiveCount+= 1 if b == 5: fiveCount+= 1 if c == 5: fiveCount+= 1 if a == 7: sevenCount+= 1 if b == 7: sevenCount+= 1 if c == 7: sevenCount+= 1 if fiveCount == 2 and sevenCount == 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,634
s500694852
p04043
u398610336
1580702800
Python
Python (3.4.3)
py
Accepted
17
2940
73
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,210,635
s813232013
p04043
u686230543
1580698497
Python
Python (3.4.3)
py
Accepted
17
2940
92
abc = sorted(input().split()) 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,210,636
s195738663
p04043
u189487046
1580683062
Python
Python (3.4.3)
py
Accepted
18
2940
147
a, b, c = map(int, input().split()) abc_len = [a, b, c] if abc_len.count(5) == 2 and abc_len.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,637
s955783207
p04043
u745812846
1580670476
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,638
s472115789
p04043
u143212659
1580669931
Python
Python (3.4.3)
py
Accepted
16
2940
205
#!/usr/bin/env python3 # -*- coding: utf-8 -*- def main(): ABC = list(map(int, input().split())) ABC.sort() print('YES' if [5, 5, 7] == ABC else 'NO') 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,210,639
s358998930
p04043
u143212659
1580669547
Python
Python (3.4.3)
py
Accepted
17
2940
213
#!/usr/bin/env python3 # -*- coding: utf-8 -*- def main(): ABC = list(map(int, input().split())) print('YES' if ABC.count(5) == 2 and ABC.count(7) == 1 else 'NO') 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,210,640
s736745274
p04043
u506858457
1580661904
Python
Python (3.4.3)
py
Accepted
17
2940
101
A=list(map(int,input().split())) A.sort() #print(A) 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,641
s897650656
p04043
u506858457
1580661814
Python
Python (3.4.3)
py
Accepted
18
2940
78
x=list(map(int,input().split())) x.sort() print("YES" if x==[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,642
s985037852
p04043
u863370423
1580545377
Python
Python (3.4.3)
py
Accepted
17
3064
311
a,b,c=input().split() if ((int(a)+int(b)+int(c)==17) and int(a)<=10 and int(b)<=10 and int(c)<=10 and int(a)>=1 and int(b)>=1 and int(c)>=1): if ((int(a)==5 or int(a)==7) and (int(b)==5 or int(b)==7) and (int(c)==5 or int(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,643
s462662960
p04043
u018679195
1580543434
Python
Python (3.4.3)
py
Accepted
17
3060
188
arr = [int(x) for x in input().split()] arr1 = [0,0,0,0,0,0,0,0,0,0,0] arr1[arr[0]]+=1 arr1[arr[1]]+=1 arr1[arr[2]]+=1 if(arr1[5]==2 and arr1[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,644
s249317979
p04043
u816631826
1580538860
Python
Python (3.4.3)
py
Accepted
17
2940
122
a=input().split(" ") a=list(map(int,a)) b=a[0]*a[0]+a[1]*a[1]+a[2]*a[2] if b==99: 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,645
s029873760
p04043
u863370423
1580537836
Python
Python (3.4.3)
py
Accepted
17
2940
153
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,210,646
s440149107
p04043
u018679195
1580537451
Python
Python (3.4.3)
py
Accepted
17
3060
218
a = list(map(int, input().split())) fives = 0 sevens = 0 for i in a: if(i == 5): fives += 1 elif(i == 7): sevens += 1 if((fives == 2) and (sevens == 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,647
s194922777
p04043
u863370423
1580537187
Python
Python (3.4.3)
py
Accepted
22
3316
147
arr = list(map(int,input().split())) b = [0]*10 for i in arr: b[i-1] += 1 if (b[4]==2 and b[6]==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,648
s414281288
p04043
u927680443
1580531871
Python
Python (3.4.3)
py
Accepted
17
2940
110
l = list(map(int,input().split())) 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,649
s136867423
p04043
u608585697
1580526205
Python
Python (3.4.3)
py
Accepted
17
2940
349
# AtCoder Beginner Contest 042 # A - 和風いろはちゃんイージー / Iroha and Haiku (ABC Edition) l = input().split() count_5 = 0 count_7 = 0 for i in range(3): if int(l[i]) == 5: count_5 = count_5 + 1 elif int(l[i]) == 7: count_7 = count_7 + 1 if count_5 == 2 and count_7 == 1: print('YES') else: print(...
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,650
s484162345
p04043
u392319141
1580524861
Python
Python (3.4.3)
py
Accepted
16
2940
86
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,651
s413517273
p04043
u934868410
1580509110
Python
Python (3.4.3)
py
Accepted
17
2940
171
a,b,c = map(int ,input().split()) if (a == 7 and b == 5 and c == 5) or (a == 5 and b == 7 and c == 5) or (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,210,652
s512771450
p04043
u445404615
1580506929
Python
Python (3.4.3)
py
Accepted
16
2940
118
a =list(map(int,input().split())) if max(a) == 7 and min(a)==5 and sum(a)==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,653
s038116687
p04043
u478888559
1580428055
Python
Python (3.4.3)
py
Accepted
17
2940
106
A, B, C = map(int, input().split()) sum = A + B + C if sum == 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,654
s042355574
p04043
u746849814
1580394281
Python
Python (3.4.3)
py
Accepted
17
2940
115
x = list(map(int, 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,210,655
s848554409
p04043
u771167374
1580369431
Python
Python (3.4.3)
py
Accepted
17
2940
92
X=list(map(int,input().split())) X.sort() if X==[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,656
s266962230
p04043
u682997551
1580352417
Python
Python (3.4.3)
py
Accepted
17
2940
139
A, B, C = map(int, input().split()) if A + B + C == 17 and max(A, B, C) == 7 and min(A, B, 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,657
s808064442
p04043
u329407311
1580346887
Python
Python (3.4.3)
py
Accepted
17
2940
201
a,b,c = map(int,input().split()) d=0 if a+b+c == 17: if a == 7 or a == 5: if b == 7 or b == 5: if c == 7 or c == 5: print("YES") d =1 if d == 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,210,658
s343094558
p04043
u113971909
1580337084
Python
Python (3.4.3)
py
Accepted
17
2940
92
X=list(map(int,input().split())) X.sort() if X==[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,659
s578356763
p04043
u151107315
1580331797
Python
Python (3.4.3)
py
Accepted
17
2940
102
li = input().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,210,660
s158734309
p04043
u553070631
1580328102
Python
Python (3.4.3)
py
Accepted
17
2940
102
a,b,c=sorted(map(int,input().split())) if a!=5 or b!=5 or c!=7: 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,661
s557683872
p04043
u264681142
1580326460
Python
Python (3.4.3)
py
Accepted
16
2940
106
a, b, c = map(int, input().split()) if sorted((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,662
s983018297
p04043
u528793636
1580318458
Python
Python (3.4.3)
py
Accepted
17
2940
104
a,b,c = map(int, input().split()) if sorted((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,663
s129428509
p04043
u207359046
1580274115
Python
Python (3.4.3)
py
Accepted
17
2940
118
nums = list(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,664
s440698338
p04043
u708255304
1580264528
Python
Python (3.4.3)
py
Accepted
17
2940
114
S = list(map(str, 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,665
s540264642
p04043
u371907395
1580248558
Python
Python (3.4.3)
py
Accepted
17
2940
146
a, b, c = map(int, input().split()) if a + b + c == 17: if (a == 5 or a == 7) and (b == 5 or b ==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,666
s173129041
p04043
u566428756
1580241373
Python
Python (3.4.3)
py
Accepted
17
2940
108
l=list(map(int,input().split())) 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,210,667
s225876023
p04043
u278379520
1580187935
Python
Python (3.4.3)
py
Accepted
17
2940
100
d=list(map(int,input().split())) if d.count(5)==2 and 7 in d: 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,668
s183041843
p04043
u877470025
1580175504
Python
Python (3.4.3)
py
Accepted
17
2940
147
#2033~ import sys [a,b,c] = list(map(int,input().split())) #print(a,b,c) if sorted([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,669
s163945517
p04043
u479868443
1580169351
Python
Python (3.4.3)
py
Accepted
17
2940
122
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,670
s118767415
p04043
u984276646
1580154366
Python
Python (3.4.3)
py
Accepted
17
2940
98
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,671
s701382181
p04043
u541114911
1580137429
Python
Python (3.4.3)
py
Accepted
17
2940
110
in_len = input().split(" ") srt = sorted(in_len) if(srt == ['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,672
s988193320
p04043
u686036872
1580109590
Python
Python (3.4.3)
py
Accepted
17
2940
98
D = list(input()) if D.count("5") == 2 and D.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,673
s950803638
p04043
u905743924
1580099012
Python
Python (3.4.3)
py
Accepted
17
2940
119
lis_ = list(map(int, input().split())) print('YES' if all([i == n for i, n in zip(sorted(lis_), [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,674
s072172299
p04043
u067962264
1580072894
Python
Python (3.4.3)
py
Accepted
17
2940
136
# -*- coding: utf-8 -*- A_B_C = list(map(int, input().split())) A_B_C.sort() 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,675
s665866190
p04043
u437860615
1580064973
Python
Python (3.4.3)
py
Accepted
17
2940
104
a, b, c = map(int, input().split()) if a * b * c / (5 * 5 * 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,676
s429264060
p04043
u110996038
1580064735
Python
Python (3.4.3)
py
Accepted
17
2940
103
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,677
s049359789
p04043
u110943895
1580061101
Python
Python (3.4.3)
py
Accepted
17
2940
81
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,210,678
s555165790
p04043
u182898140
1580009565
Python
Python (3.4.3)
py
Accepted
18
2940
100
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,210,679
s309415691
p04043
u250207413
1579964256
Python
Python (3.4.3)
py
Accepted
17
2940
104
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,680
s931600856
p04043
u857070771
1579934460
Python
Python (3.4.3)
py
Accepted
17
2940
91
abc = [int(x) for x in 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,681
s672068959
p04043
u081475068
1579921161
Python
Python (3.4.3)
py
Accepted
17
2940
116
data = input() if data == "7 5 5" or \ data == "5 7 5" or \ data == "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,682
s394285516
p04043
u711626986
1579895346
Python
Python (3.4.3)
py
Accepted
17
2940
183
a, b, c=map(int,input().split()) if a==7 and b==5 and c==5: print("YES") elif a==5 and b==7 and c==5: print("YES") elif 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,210,683
s846156021
p04043
u036492525
1579877305
Python
Python (3.4.3)
py
Accepted
17
2940
80
a=sorted(list(map(int,input().split()))) 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,684
s045752829
p04043
u858436319
1579838688
Python
Python (3.4.3)
py
Accepted
17
3060
149
a,b,c = map(int, input().split()) list = [a,b,c] list.sort() if(list[0] == 5 and list[1] == 5 and list[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,685
s780033064
p04043
u527993431
1579809418
Python
Python (3.4.3)
py
Accepted
17
2940
123
S = list(map(int,input().split())) N = sorted(S) if N[0] == 5 and N[1] == 5 and N[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,686
s294514565
p04043
u096601595
1579798398
Python
Python (3.4.3)
py
Accepted
17
3060
180
lo = list(map(int,input().split())) li =[[5,7,5],[5,5,7],[7,5,5]] for i in li: if lo == i: result = "YES" break else: result = "NO" print(result)
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,687
s077881770
p04043
u649915042
1579771887
Python
Python (3.4.3)
py
Accepted
17
2940
103
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,688
s149995857
p04043
u890183245
1579761813
Python
Python (3.4.3)
py
Accepted
17
2940
130
haiku = sorted(list(map(int,input().split())), reverse=True) if haiku[0] == 7 and haiku[1] ==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,689
s707036703
p04043
u816070625
1579743275
Python
Python (3.4.3)
py
Accepted
17
2940
108
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,690
s561960971
p04043
u993435350
1579724601
Python
Python (3.4.3)
py
Accepted
17
2940
150
A,B,C = map(int,input().split()) if A + B + C == 17: if A + B or A + C or B + C == 10: 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,691
s476647567
p04043
u696831348
1579711205
Python
Python (3.4.3)
py
Accepted
17
2940
209
A= list(map(int, input().split())) flg = True cnt = 0 for a in A: if a != 7 and a != 5: flg = False if a == 5: cnt += 1 if cnt != 2: flg = False if flg is True: 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,692
s459919236
p04043
u790048565
1579692469
Python
Python (3.4.3)
py
Accepted
17
2940
121
arr = list(input().split()) result = "YES" if ((arr.count('5')) == 2 and (arr.count('7')) == 1) else "NO" print(result)
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,693
s103848985
p04043
u071868443
1579587198
Python
Python (3.4.3)
py
Accepted
17
2940
131
a, b, c = map(int, input().split()) lengths = [a, b, c] lengths.sort() if lengths == [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,694
s753114499
p04043
u702786238
1579569328
Python
Python (3.4.3)
py
Accepted
17
2940
91
l=sorted(list(map(int, input().split()))) 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,695
s121324167
p04043
u989345508
1579554688
Python
Python (3.4.3)
py
Accepted
17
2940
79
x=list(map(int,input().split())) x.sort() print("YES" if x==[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,696
s651855689
p04043
u557792847
1579541298
Python
Python (3.4.3)
py
Accepted
17
3064
347
import sys # 入力 a, b, c = map(int, input().split()) cnt5, cnt7 = 0, 0 # 5文字と7文字がいくつあったか if a == 5: cnt5 += 1 if a == 7: cnt7 += 1 if b == 5: cnt5 += 1 if b == 7: cnt7 += 1 if c == 5: cnt5 += 1 if c == 7: cnt7 += 1 # 評価 if cnt5 == 2 and cnt7 == 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,697
s494683037
p04043
u162911959
1579534402
Python
Python (3.4.3)
py
Accepted
17
2940
90
n=list(map(int,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,210,698
s038475354
p04043
u162911959
1579533141
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,210,699
s009494866
p04043
u698197687
1579485449
Python
Python (3.4.3)
py
Accepted
17
2940
438
def haiku(sentence_length_list): length_five_cnt=0 length_seven_cnt=0 for s in sentence_length_list: if s=='5': length_five_cnt=length_five_cnt+1 if s=='7': length_seven_cnt=length_seven_cnt+1 if length_five_cnt==2 and length_seven_cnt==1: return '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,700
s602801165
p04043
u690037900
1579436277
Python
Python (3.4.3)
py
Accepted
17
3060
94
s=list(map(str,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,210,701
s881434021
p04043
u909851424
1579397504
Python
Python (3.4.3)
py
Accepted
17
2940
205
args = input().split() five = 0 seven = 0 for arg in args: if arg == "5": five = five + 1 else: seven = 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,702
s085428845
p04043
u287880059
1579381685
Python
Python (3.4.3)
py
Accepted
17
2940
83
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,210,703
s449229690
p04043
u548303713
1579289783
Python
Python (3.4.3)
py
Accepted
17
2940
177
num=list(map(int,input().split())) five,seven=0,0 for i in range(3): if num[i]==5: five+=1 else: seven+=1 print("YES" if(five==2 and seven==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,704
s030465877
p04043
u631460433
1579280448
Python
Python (3.4.3)
py
Accepted
17
2940
83
s,t,u=map(int,input().split()) if s+t+u==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,705
s554529812
p04043
u809827093
1579274706
Python
Python (3.4.3)
py
Accepted
17
2940
108
ABC = input() if ABC == '5 7 5' or ABC == '5 5 7' or ABC == '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,706
s964442984
p04043
u278955646
1579246007
Python
Python (3.4.3)
py
Accepted
17
2940
173
def main(): A = list(map(int, input().split())) ans = 'YES' if A.count(5) == 2 and A.count(7) == 1 else 'NO' print(ans) 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,210,707
s049980217
p04043
u506287026
1579242593
Python
Python (3.4.3)
py
Accepted
20
3316
190
from collections import defaultdict d = defaultdict(int) A, B, C = map(int, input().split()) d[A] += 1 d[B] += 1 d[C] += 1 if d[5] == 2 and d[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,708
s317544010
p04043
u950174345
1579236844
Python
Python (3.4.3)
py
Accepted
17
2940
137
A, B, C = map(int, input().split()) if (A==B==5 and C==7) or (A==C==5 and B==7) or (C==B==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,709
s190972165
p04043
u314089899
1579233618
Python
Python (3.4.3)
py
Accepted
17
2940
135
A,B,C = map(int, input().split()) if (A==B==5 and C==7) or (A==C==5 and B==7) or (C==B==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,710
s675859463
p04043
u012131682
1579228368
Python
Python (3.4.3)
py
Accepted
17
3060
270
import sys a, b, c = map(int,input().split()) if (a == 5 or a == 7): if (b == 5 or b == 7): if (c == 5 or c == 7): d = a * b * c if (d == 175): print("YES") else: print("NO") else: print("NO") 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,711
s773356017
p04043
u012131682
1579228335
Python
Python (3.4.3)
py
Accepted
17
2940
270
import sys a, b, c = map(int,input().split()) if (a == 5 or a == 7): if (b == 5 or b == 7): if (c == 5 or c == 7): d = a * b * c if (d == 175): print("YES") else: print("NO") else: print("NO") 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,712
s631229094
p04043
u638006405
1579223381
Python
Python (3.4.3)
py
Accepted
17
2940
173
inputs = sorted([int(i)for i in input().split(' ')]) true_num = sum([1 for i, j in zip(inputs, [5, 5, 7]) if i==j]) if true_num == 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,713
s145019874
p04043
u106342872
1579221851
Python
Python (3.4.3)
py
Accepted
17
2940
225
arr = input().split() arr = list(map(int,arr)) c1 = 0 c2 = 0 for i in range(len(arr)): if arr[i] == 5: c1 += 1 elif arr[i] == 7: c2 += 1 if c1 == 2 and c2 == 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,714
s298877043
p04043
u355865104
1579143981
Python
Python (3.4.3)
py
Accepted
18
2940
172
import os if __name__ == "__main__": temp = input().split(" ") if temp.count("5") == 2 and temp.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,715
s969958649
p04043
u093683571
1579128614
Python
Python (3.4.3)
py
Accepted
17
2940
81
a,b,c=map(int,input().split()) print("YES" if a+b+c==17 and a*b*c==175 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,716