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
s282963586
p04043
u335145501
1557021937
Python
Python (3.4.3)
py
Accepted
17
2940
239
def task_a(): """ https://atcoder.jp/contests/abc042/tasks/abc042_a """ a, b, c = map(int, input().split()) if (a, b, c) in [(5, 5, 7), (5, 7, 5), (7, 5, 5)]: print('YES') else: print('NO') task_a()
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,717
s196065829
p04043
u322185540
1557019557
Python
Python (3.4.3)
py
Accepted
17
2940
105
a = list(map(int,input().split())) b = sorted(a) print('YES'if b[0]==5 and b[1]==5 and b[2]==7 else 'NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,718
s142370610
p04043
u470735879
1556994614
Python
Python (3.4.3)
py
Accepted
17
2940
107
arr = list(input().split()) ans = "YES" if arr.count('5') == 2 and arr.count('7') == 1 else "NO" print(ans)
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,719
s344798540
p04043
u131666536
1556978731
Python
Python (3.4.3)
py
Accepted
17
2940
160
abc = [int(s) for s in input().split()] count5 = abc.count(5) count7 = abc.count(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,211,720
s754720149
p04043
u182047166
1556972029
Python
Python (3.4.3)
py
Accepted
17
2940
94
a, b, c = 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,211,721
s281585958
p04043
u816935184
1556958904
Python
Python (3.4.3)
py
Accepted
18
2940
169
A,B,C=map(int,input().split()) if A==5 and B==5 and C==7:print('YES') elif A==5 and C==5 and B==7:print('YES') elif B==5 and 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,211,722
s619142360
p04043
u306664745
1556875161
Python
Python (3.4.3)
py
Accepted
17
2940
100
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,211,723
s644491265
p04043
u621674426
1556848091
Python
Python (3.4.3)
py
Accepted
17
2940
72
A,B,C = map(int,input().split()) print('YES' if 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,211,724
s753283107
p04043
u734548018
1556831926
Python
Python (3.4.3)
py
Accepted
17
2940
85
if sorted(list(map(int, 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,211,725
s137248790
p04043
u592248346
1556819280
Python
Python (3.4.3)
py
Accepted
17
2940
106
a = list(map(int,input().split())) if sum(a)==17 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,211,726
s222671797
p04043
u779483561
1556779830
Python
Python (3.4.3)
py
Accepted
17
2940
132
numbers = list(map(int,input().split())) if numbers.count(5) == 2 and numbers.count(7) == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,727
s155156831
p04043
u039360403
1556779002
Python
Python (3.4.3)
py
Accepted
17
2940
81
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,211,728
s824602317
p04043
u565438278
1556761056
Python
Python (3.4.3)
py
Accepted
17
2940
293
NUM = input().rstrip().split(' ') NUM.sort(key=int,reverse=False) if int(NUM[0]) == 5: if int(NUM[1]) == 5: if int(NUM[2]) == 7: print("YES") 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,211,729
s673608970
p04043
u017271745
1556739345
Python
Python (3.4.3)
py
Accepted
19
2940
163
A, B, C = map(int, input().split()) if A == 7 and B == C == 5 or B == 7 and C == A == 5 or C == 7 and A == B == 5: ans = 'YES' else: ans = 'NO' print(ans)
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,730
s091274883
p04043
u507116804
1556679352
Python
Python (3.4.3)
py
Accepted
17
2940
94
a=input().split() if a.count("5")==2 and a.count("7")==1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,731
s846816335
p04043
u432805419
1556672045
Python
Python (3.4.3)
py
Accepted
18
2940
120
a = list(map(int,input().split())) a.sort() if a[0] == 5 and a[1] == 5 and a[2] == 7: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,732
s533238717
p04043
u346395915
1556669176
Python
Python (3.4.3)
py
Accepted
18
3060
207
a, b, c = map(int, input().split()) if a == 5 and b == 5 or a == 5 and c == 5 or b == 5 and c == 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,211,733
s723154138
p04043
u739721456
1556650790
Python
Python (3.4.3)
py
Accepted
17
2940
95
n=list(map(int,input().split())) n.sort() if n==[5,5,7]: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,734
s237652896
p04043
u507116804
1556639047
Python
Python (3.4.3)
py
Accepted
17
2940
94
a=input().split() if a.count("5")==2 and a.count("7")==1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,735
s462095634
p04043
u108377418
1556597084
Python
Python (3.4.3)
py
Accepted
17
3060
250
def main(): 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") if __name__ == "__main__": main()
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,736
s986896475
p04043
u432805419
1556591711
Python
Python (3.4.3)
py
Accepted
17
2940
120
a = list(map(int,input().split())) a.sort() if a[0] == 5 and a[1] == 5 and a[2] == 7: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,737
s412322669
p04043
u264625952
1556588386
Python
Python (3.4.3)
py
Accepted
17
2940
120
L = [int(i) for i in 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,211,738
s082951527
p04043
u949414593
1556543462
Python
Python (3.4.3)
py
Accepted
17
2940
60
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,211,739
s401716487
p04043
u710789518
1556526222
Python
Python (3.4.3)
py
Accepted
17
2940
105
ABC = list(map(int, input().split())) ABC.sort() if ABC == [5, 5, 7]: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,740
s683587947
p04043
u442030035
1556513722
Python
Python (3.4.3)
py
Accepted
17
2940
103
ABC = input().split() if ABC.count('5') == 2 and ABC.count('7'): print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,741
s202911808
p04043
u655834330
1556503425
Python
Python (3.4.3)
py
Accepted
17
3064
412
def main(): a, b, c = map(int, input().split()) num_5 = 0 num_7 = 0 if a == 5: num_5 += 1 if b == 5: num_5 += 1 if c == 5: num_5 += 1 if a == 7: num_7 += 1 if b == 7: num_7 += 1 if c == 7: num_7 += 1 if num_5 == 2 and num_7 == ...
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,742
s288435795
p04043
u637593381
1556478575
Python
Python (3.4.3)
py
Accepted
17
2940
95
lis = ['5 7 5', '7 5 5', '5 5 7'] s = input() if s in lis: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,743
s819718713
p04043
u821432765
1556466522
Python
Python (3.4.3)
py
Accepted
17
2940
79
l=list(map(int,input().split())) print("YES" if sorted(l) == [5,5,7] else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,744
s875247207
p04043
u592248346
1556406854
Python
Python (3.4.3)
py
Accepted
17
2940
108
a = list(map(int,input().split())) if sum(a)%17==0 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,211,745
s504223148
p04043
u552502395
1556399243
Python
Python (3.4.3)
py
Accepted
18
2940
124
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,211,746
s484033599
p04043
u732870425
1556392943
Python
Python (3.4.3)
py
Accepted
19
3060
79
li=list(map(int,input().split())) print("YES" if sorted(li)==[5,5,7] else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,747
s908459233
p04043
u698771758
1556389478
Python
Python (3.4.3)
py
Accepted
17
2940
76
a,b,c=sorted(map(int,input().split())) print(["NO","YES"][a==b==5 and c==7])
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,748
s608435493
p04043
u733337827
1556383973
Python
Python (3.4.3)
py
Accepted
17
2940
118
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,211,749
s932742806
p04043
u589381719
1556306543
Python
Python (3.4.3)
py
Accepted
17
2940
117
num = list(map(int,input().split())) sums=0 for i in num: sums+=i if sums ==17: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,750
s660061846
p04043
u165999673
1556199239
Python
Python (3.4.3)
py
Accepted
17
2940
110
Haiku = list(map(int, input().split())) print("YES" if Haiku.count(5) == 2 and Haiku.count(7) == 1 else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,751
s340391876
p04043
u165999673
1556198129
Python
Python (3.4.3)
py
Accepted
17
3064
354
A, B, C = map(int, input().split()) if A >= 1 and A <= 10 and B >= 1 and B <= 10 and C >= 1 and C <= 10 : if A == 5 : if B == 7 and C == 5 or B == 5 and C == 7 : print("YES") else : print("NO") elif A == 7 : if B == 5 and C == 5 : print("YES") else : print("NO") 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,211,752
s369370206
p04043
u822738981
1556177962
Python
Python (3.4.3)
py
Accepted
17
2940
123
# -*- coding: utf-8 -*- n = list(map(int, input().split())) print('YES' if n.count(7) == 1 and n.count(5) == 2 else 'NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,753
s348939780
p04043
u475675023
1556163867
Python
Python (3.4.3)
py
Accepted
18
2940
73
print("YES" if sorted(list(map(int,input().split())))==[5,5,7] else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,754
s845565135
p04043
u619458041
1556159134
Python
Python (3.4.3)
py
Accepted
17
2940
252
import sys def main(): input = sys.stdin.readline A = list(map(int, input().split())) A = sorted(A) if A[0] == A[1] == 5 and A[2] == 7: return 'YES' else: return 'NO' if __name__ == '__main__': print(main())
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,755
s375708236
p04043
u927870520
1556156308
Python
Python (3.4.3)
py
Accepted
18
3064
203
a,b,c=(int(x) for x in input().split()) d=0 e=0 if a==5: d=d+1 if a==7: e=e+1 if b==5: d=d+1 if b==7: e=e+1 if c==5: d=d+1 if c==7: e=e+1 if d==2 and e==1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,756
s092026964
p04043
u550943777
1556156052
Python
Python (3.4.3)
py
Accepted
17
2940
79
s=sorted(list(map(int,input().split()))) print('YES' if s == [5,5,7] else 'NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,757
s477842962
p04043
u794603719
1556154072
Python
Python (3.4.3)
py
Accepted
17
2940
66
a,b,c=map(int,input().split()) print("YES" if a+b+c==17 else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,758
s715895015
p04043
u059262067
1556148931
Python
Python (3.4.3)
py
Accepted
17
2940
134
a = [int(i) for i in 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,211,759
s637024816
p04043
u436982376
1556131616
Python
Python (3.4.3)
py
Accepted
17
2940
94
a,b,c=(int(x) for x in 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,211,760
s667474178
p04043
u728566015
1556065948
Python
Python (3.4.3)
py
Accepted
17
2940
150
# -*- coding: utf-8 -*- A, B, C = map(int, (input().split())) sen = [A, B, C] sen.sort() if sen == [5, 5, 7]: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,761
s232441945
p04043
u728566015
1556065868
Python
Python (3.4.3)
py
Accepted
17
2940
193
# -*- coding: utf-8 -*- A, B, C = map(int, (input().split())) sen = [A, B, C] x = max(sen) y = min(sen) if x == 7 and y == 5 and sum(sen) - x - y == 5: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,762
s270167886
p04043
u609738635
1556040428
Python
Python (3.4.3)
py
Accepted
17
2940
125
A, B, C = map(int, input().split()) x = [A, B, C] if(x.count(5)==2 and x.count(7)==1): print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,763
s039813908
p04043
u077291787
1556006482
Python
Python (3.4.3)
py
Accepted
17
2940
180
# ABC042A - 和風いろはちゃんイージー / Iroha and Haiku (ABC Edition) data = sorted(list(map(int, input().rstrip().split()))) print("YES" if data == [5, 5, 7] else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,764
s016584613
p04043
u151625340
1555962693
Python
Python (3.4.3)
py
Accepted
17
2940
116
A = list(map(int,input().split())) if A.count(5) == 2 and A.count(7) == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,765
s405010976
p04043
u652081898
1555961749
Python
Python (3.4.3)
py
Accepted
17
2940
108
s = input().split() s.sort() if s[0] == s[1] == "5" and s[2] == "7": print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,766
s003336933
p04043
u193598069
1555899104
Python
Python (3.4.3)
py
Accepted
18
2940
116
num = list(map(int,input().split())) if num.count(5) == 2 and num.count(7) == 1: print ('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,767
s014851753
p04043
u021083776
1555892460
Python
Python (3.4.3)
py
Accepted
17
2940
102
a = list(map(int, input().split())) a.sort() if a == [5, 5, 7]: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,768
s150352004
p04043
u791489811
1555888657
Python
Python (3.4.3)
py
Accepted
18
2940
144
a,b,c=map(int, input().split()) if (a+b+c==17) and (a==5 or a==7) and (b==5 or b==7) and (c==5 or c==7): print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,769
s118356278
p04043
u144980750
1555880443
Python
Python (3.4.3)
py
Accepted
17
2940
102
a=list(map(int,input().split())) a.sort() print("YES" if a[0]==a[1] and a[0]==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,211,770
s596745058
p04043
u370429695
1555876675
Python
Python (3.4.3)
py
Accepted
17
3060
325
num = list(map(int,input().split())) cnt_five = 0 cnt_seven = 0 def serch_five(a): if a == 5: return 1 else: return 0 def serch_seven(a): if a == 7: return 1 else: return 0 for i in num: cnt_five += serch_five(i) cnt_seven += serch_seven(i) if cnt_five == 2 and cnt_seven == 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,211,771
s988025904
p04043
u975676823
1555851412
Python
Python (3.4.3)
py
Accepted
17
2940
229
s = input().split() seven = 0 five = 0 for i in range(3): if int(s[i]) == 5: five += 1 if int(s[i]) == 7: seven += 1 if(five == 2 and seven == 1): print("Yes".upper()) else: print("No".upper())
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,772
s687607929
p04043
u527154032
1555768347
Python
Python (3.4.3)
py
Accepted
17
3060
252
A,B,C = map(int, input().split()) five = 0 seven = 0 if A==5: five += 1 elif A==7: seven += 1 if B==5: five += 1 elif B==7: seven += 1 if C==5: five += 1 elif C==7: seven += 1 if five == 2 and seven == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,773
s970761265
p04043
u120691615
1555729159
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,211,774
s193442727
p04043
u481026841
1555725398
Python
Python (3.4.3)
py
Accepted
17
3060
190
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,211,775
s706373427
p04043
u581980068
1555691600
Python
Python (2.7.6)
py
Accepted
10
2568
92
a, b, c = map(int, raw_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,211,776
s641346928
p04043
u150641538
1555687572
Python
Python (3.4.3)
py
Accepted
17
3060
118
a,b,c = map(int,input().split()) x = [[5,5,7],[5,7,5],[7,5,5]] if [a,b,c] in x: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,777
s402472195
p04043
u311379832
1555684267
Python
Python (3.4.3)
py
Accepted
17
3064
420
sList = list(map(int, input().split())) cnt5 = 0 cnt7 = 0 ansFlg = True for i in sList: if i == 5: if cnt5 == 3: ansFlg = False break cnt5 += 1 continue elif i == 7: cnt7 += 1 if cnt7 == 2: ansFlg = False break conti...
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,778
s303658232
p04043
u956571637
1555614819
Python
Python (3.4.3)
py
Accepted
26
3444
191
from collections import Counter input_line = map(int, input().split()) count_dict = Counter(input_line) if count_dict[5] == 2 and count_dict[7] == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,779
s239000478
p04043
u980492406
1555609898
Python
Python (3.4.3)
py
Accepted
17
2940
112
list =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,211,780
s502938162
p04043
u783565479
1555561675
Python
Python (3.4.3)
py
Accepted
17
2940
124
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,211,781
s927616653
p04043
u783565479
1555560540
Python
Python (3.4.3)
py
Accepted
17
3060
186
a = list(map(int, input().split())) if (a[0]==5 and a[1]==5 and a[2]==7) or (a[0]==5 and a[1]==7 and a[2]==5) or (a[0]==7 and a[1]==5 and a[2]==5): print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,782
s390150020
p04043
u407158193
1555559496
Python
Python (3.4.3)
py
Accepted
17
2940
69
a = input() if 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,211,783
s328271133
p04043
u222138979
1555523651
Python
Python (3.4.3)
py
Accepted
17
3060
147
n, b, c = (int(_) for _ in input().split()) a = [n, b, c] if a == [5, 7, 5] or a == [5, 5, 7] or a == [7, 5, 5]: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,784
s276166640
p04043
u476048753
1555465814
Python
Python (3.4.3)
py
Accepted
17
3060
278
X, Y, Z = map(int, input().split()) num_5 = 0 num_7 = 0 if X == 5: num_5 += 1 if Y == 5: num_5 += 1 if Z == 5: num_5 += 1 if X == 7: num_7 += 1 if Y == 7: num_7 += 1 if Z == 7: num_7 += 1 if num_5 == 2 and num_7 == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,785
s863928088
p04043
u885899351
1555444850
Python
Python (3.4.3)
py
Accepted
17
2940
73
s=list(map(int,input().split())) s.sort() print(["NO","YES"][s==[5,5,7]])
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,786
s548492128
p04043
u848678027
1555392400
Python
Python (3.4.3)
py
Accepted
17
2940
198
from sys import stdin input=stdin.readline().rstrip().split() for i in range(len(input)): input[i]=int(input[i]) if input.count(5)==2: if input.count(7)==1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,787
s805661550
p04043
u767664985
1555384726
Python
Python (3.4.3)
py
Accepted
17
2940
96
if sorted(list(map(int, input().split())))[:: -1] == [7, 5, 5]: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,788
s950579215
p04043
u331464808
1555347758
Python
Python (3.4.3)
py
Accepted
17
2940
167
a = list(map(int,input().split())) b = 0 c = 0 for i in a: if i == 7: b += 1 elif i == 5: c += 1 if b == 1 and c == 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,211,789
s999498099
p04043
u969190727
1555292953
Python
Python (3.4.3)
py
Accepted
19
2940
78
a=list(map(int,input().split())) print("YES" if sorted(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,211,790
s372851308
p04043
u957872856
1555259008
Python
Python (3.4.3)
py
Accepted
17
2940
166
a = list(map(int,input().split())) b = 0 c = 0 for i in a: if i == 7: b += 1 elif i == 5: c += 1 if b == 1 and c == 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,211,791
s359263586
p04043
u163320134
1555236386
Python
Python (3.4.3)
py
Accepted
17
2940
129
a,b,c=map(int,input().split()) arr=[a,b,c] arr=sorted(arr) if arr[0]==arr[1]==5 and arr[2]==7: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,792
s528219053
p04043
u118147328
1555183204
Python
Python (3.4.3)
py
Accepted
18
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,211,793
s537338372
p04043
u902130170
1555181463
Python
Python (3.4.3)
py
Accepted
18
2940
197
a, b, c = map(int, input().split(" ")) if a == 5 and b == 7 and c == 5 \ or a == 5 and b == 5 and c == 7 \ or a == 7 and b == 5 and c == 5: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,794
s860202398
p04043
u103341055
1555174982
Python
Python (3.4.3)
py
Accepted
17
2940
135
num = [int(n) for n in input().rstrip().split()] if num.count(5) == 2 and num.count(7) == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,795
s116178669
p04043
u732996882
1555118758
Python
Python (3.4.3)
py
Accepted
17
2940
101
a = sorted([int(i) for i in input().split()]) if a == [5,5,7]: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,796
s464464800
p04043
u220345792
1555118613
Python
Python (3.4.3)
py
Accepted
19
2940
123
A = list(map(int, input().split())) A.sort() if A[0] == 5 and A[1] == 5 and A[2] == 7: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,797
s483160601
p04043
u899975427
1555097011
Python
Python (3.4.3)
py
Accepted
17
2940
99
s = input().replace(' ','') if s=='575' or s=='755' or s=='557': print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,798
s887223246
p04043
u149752754
1555091740
Python
Python (3.4.3)
py
Accepted
17
2940
97
list = map(int, input().split()) if sorted(list) == [5, 5, 7]: print ('YES') else: print ('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,799
s328602191
p04043
u556016145
1555035493
Python
Python (3.4.3)
py
Accepted
18
2940
110
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,211,800
s747505214
p04043
u992910889
1555018871
Python
Python (3.4.3)
py
Accepted
18
2940
122
from sys import stdin a = stdin.readline().rstrip() a.count('5') if 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,211,801
s060099901
p04043
u414877092
1555015881
Python
Python (3.4.3)
py
Accepted
19
2940
78
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,211,802
s923788584
p04043
u387456967
1555014868
Python
Python (3.4.3)
py
Accepted
17
2940
69
print("YES") if input() in ("5 7 5","5 5 7","7 5 5") else print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,803
s975528624
p04043
u864047888
1555000148
Python
Python (3.4.3)
py
Accepted
17
2940
98
a=list(map(int,input().split())) a=sorted(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,211,804
s479558171
p04043
u525796732
1554950683
Python
Python (3.4.3)
py
Accepted
17
2940
175
a,b,c = map(int,input().split()) numberlist=[a,b,c] numberlist.sort() if (numberlist[0]==5 and numberlist[1]==5 and numberlist[2]==7): print('YES') else : print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,805
s774832475
p04043
u831830097
1554930689
Python
Python (3.4.3)
py
Accepted
17
2940
111
a,b,c = map(int,input().split()) l = sorted([a,b,c]) if l == [5,5,7]: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,806
s801458564
p04043
u962330718
1554878020
Python
Python (3.4.3)
py
Accepted
17
2940
112
List=list(map(int,input().split())) sorted(List) print("YES" if List.count(5)==2 and List.count(7)==1 else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,807
s346151304
p04043
u428855582
1554866968
Python
Python (3.4.3)
py
Accepted
17
2940
92
length=sorted([int(x) for x in input().split()]) print ("YES" if length ==[5,5,7] else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,808
s117972103
p04043
u428855582
1554865771
Python
Python (3.4.3)
py
Accepted
17
2940
89
abc = list(map(int, input().split())) abc.sort() print('YES' if [5, 5, 7]==abc else 'NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,809
s994455871
p04043
u209918867
1554859613
Python
Python (3.4.3)
py
Accepted
17
2940
71
s=input().split();print('YNEOS'[s.count('7')!=1 or s.count('5')!=2::2])
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,810
s204714908
p04043
u596630954
1554822360
Python
Python (3.4.3)
py
Accepted
17
3060
200
a, b, c = map(int, input().split()) x = [] x.append(a) x.append(b) x.append(c) y = [5, 7, 5] for z in y: if z in x: x.remove(z) if len(x) == 0: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,811
s358833874
p04043
u733870825
1554820045
Python
Python (3.4.3)
py
Accepted
17
3060
197
a, b, c = map(int, input().split()) x = [] x.append(a) x.append(b) x.append(c) y = [5, 7, 5] for z in y: if z in x: x.remove(z) if len(x) == 0: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,812
s837475147
p04043
u733870825
1554814802
Python
Python (3.4.3)
py
Accepted
17
3060
218
a, b, c = map(int, input().split()) x = [] x.append(a) x.append(b) x.append(c) if 7 in x: x.remove(7) if 5 in x: x.remove(5) if 5 in x: 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,211,813
s366696739
p04043
u181126404
1554798502
Python
Python (3.4.3)
py
Accepted
17
2940
276
def main(): s = list(map(int, input().split())) a, b = 0, 0 for i in s: if i == 7: a += 1 if i == 5: b += 1 if b == 2 and a == 1: print('YES') else: print('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,211,814
s788275496
p04043
u706695185
1554782798
Python
Python (3.4.3)
py
Accepted
17
2940
89
abc = list(map(int, input().split())) abc.sort() print('YES' if [5, 5, 7]==abc else 'NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,815
s821260963
p04043
u181009984
1554778961
Python
Python (3.4.3)
py
Accepted
17
3060
318
a, b, c = map(int,input().split()) if a + b + c == 17: if a == 5: if b == 5 or b == 7: print ("YES") else: print ("NO") elif a == 7: if b == 5: print ("YES") 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,211,816