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
s695339616
p04043
u695567036
1584720183
Python
Python (3.4.3)
py
Accepted
18
3060
199
l = list(input().split()) five = 0 seven = 0 for i in l: if i == '5': five += 1 elif i == '7': seven += 1 else: pass 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,417
s620727417
p04043
u652710582
1584664878
Python
Python (3.4.3)
py
Accepted
17
2940
150
num = [x for x in input().split() ] count5 = num.count("5") count7 = num.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,210,418
s102738170
p04043
u374815848
1584662510
Python
Python (3.4.3)
py
Accepted
17
2940
241
from sys import stdin l = stdin.readline().rstrip().split() l.sort() a, b, c = [int(x) for x in l] if a == b == 5: if c == 7: print('YES', flush=True) else: print('NO', flush=True) else: print('NO', flush=True)
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,419
s489943932
p04043
u272075541
1584651179
Python
Python (3.4.3)
py
Accepted
18
2940
68
print(" YNEOS"[(input() in ["5 5 7", "5 7 5", "7 5 5"])::2].strip())
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,420
s548993295
p04043
u549494450
1584647248
Python
Python (3.4.3)
py
Accepted
17
2940
191
a = input().split() five = 0 seven = 0 for i in a: if i == "5": five += 1 elif i == "7": seven += 1 if five == 2 and seven == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,421
s733546200
p04043
u965729066
1584560120
Python
Python (3.4.3)
py
Accepted
17
2940
116
s = input().split(" ") # 5,7,5を判定 if s.count('5') == 2 and s.count('7') == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,422
s529797433
p04043
u420344407
1584557428
Python
Python (3.4.3)
py
Accepted
17
2940
255
a, b, c = map(int, input().split()) list_iroha = [a, b, c] count = 0 if a + b + c == 17: for i in list_iroha: if i == 5: count += 1 if count == 2: print("YES") exit() print("NO") exit()
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,423
s795091335
p04043
u223663729
1584555368
Python
Python (3.4.3)
py
Accepted
17
2940
93
x = 1 for a in input().split(): x *= int(a) if x == 175: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,424
s165689085
p04043
u132895075
1584495626
Python
Python (3.4.3)
py
Accepted
17
2940
105
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,425
s078218585
p04043
u886142147
1584477459
Python
Python (3.4.3)
py
Accepted
17
2940
129
array = list(map(int, (input().split()))) if array.count(5) == 2 and array.count(7) == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,426
s940843427
p04043
u920621778
1584429174
Python
Python (3.4.3)
py
Accepted
17
2940
100
a, b , c = map(int, input().split()) flag = a*b*c==175 and a+b+c==17 print('YES' if flag 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,427
s318176705
p04043
u634248565
1584410987
Python
Python (3.4.3)
py
Accepted
17
2940
94
x, y, z = map(int, input().split()) if x + y + z == 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,428
s711010131
p04043
u016323272
1584392543
Python
Python (3.4.3)
py
Accepted
17
2940
187
#ABC.042A 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,429
s481940165
p04043
u053404471
1584371227
Python
Python (3.4.3)
py
Accepted
17
2940
104
a = list(input().split()) if a.count('5') == 2 and a.count('7') == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,430
s837875778
p04043
u777078967
1584319691
Python
Python (3.4.3)
py
Accepted
17
2940
136
data=input().rstrip().split() num = [int(x) for x in data] if 5 in num and 7 in num and sum(num)==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,431
s768929509
p04043
u490489966
1584288884
Python
Python (3.4.3)
py
Accepted
18
3060
181
#ABC042 A 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,432
s573394101
p04043
u735654057
1584275583
Python
Python (3.4.3)
py
Accepted
18
2940
208
user_input = list(map(int, input().split())) five = [w for w in user_input if w == 5] seven = [w for w in user_input if w == 7] if len(five) == 2 and len(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,433
s116133180
p04043
u641446860
1584250293
Python
Python (3.4.3)
py
Accepted
17
2940
121
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,434
s260541745
p04043
u991567869
1584241511
Python
Python (3.4.3)
py
Accepted
18
2940
114
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,435
s958760422
p04043
u888610038
1584213843
Python
Python (3.4.3)
py
Accepted
17
2940
120
a,b,c = map(int,input().split()) if a+b+c==17: if a==b==5 or b==c==5 or a==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,436
s663889118
p04043
u142930449
1584198059
Python
Python (3.4.3)
py
Accepted
18
3064
366
a, b, c = map(int, input().split()) if a == 5: if (b == 5 and c == 7) or (b == 7 and c == 5): print('YES') else: print('NO') elif b == 5: if (a == 5 and c == 7) or (a == 7 and c == 5): print('YES') else: print('NO') elif c == 5: if (a == 5 and b == 7) or (a == 7 and b == 5): 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,437
s799577967
p04043
u840807329
1584161602
Python
Python (3.4.3)
py
Accepted
18
2940
158
import sys a,b,c = map(int,input().split()) if 7 in [a,b,c]: if len(list(filter(lambda x:x ==5,[a,b,c]))) is 2: print("YES") sys.exit() print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,438
s559653565
p04043
u372670441
1584140024
Python
Python (3.4.3)
py
Accepted
17
2940
188
A=list(map(int,input().split())) if A[0]==A[1]==5 and A[2]==7: print("YES") elif A[0]==A[2]==5 and A[1]==7: print("YES") elif A[1]==A[2]==5 and A[0]==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,439
s860848074
p04043
u768559443
1584130574
Python
Python (3.4.3)
py
Accepted
20
2940
187
a,b,c=map(int,input().split()) if a==7 and b==5 and c==5: print("YES") elif b==7 and a==5 and c==5: print("YES") elif c==7 and a==5 and b==5: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,440
s931033603
p04043
u373228444
1584116735
Python
Python (3.4.3)
py
Accepted
17
2940
203
a, b, c = map(int, input().split()) if a == 5 and b == 5 and c == 7: print('YES') elif a == 5 and b == 7 and c == 5: print('YES') elif a == 7 and b == 5 and c == 5: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,441
s232146658
p04043
u110580875
1584108721
Python
Python (3.4.3)
py
Accepted
17
3060
303
a,b,c=(map(int,input().split())) if a==5: if b==5: if c==7: print("YES") else: print("NO") elif b==7: if c==5: print("YES") else: print("NO") else: print("NO") elif a==7: if b==5 and c==5: print("YES") else: print("NO") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,442
s424993430
p04043
u663263525
1584081522
Python
Python (3.4.3)
py
Accepted
17
2940
65
print(["NO", "YES"][sorted(input().split()) == ["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,210,443
s966327059
p04043
u088063513
1584078750
Python
Python (3.4.3)
py
Accepted
17
2940
137
s = input().split() t = [int(p) for p in s] #print(t) u = sorted(t) #print(u) if(u == [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,444
s452004487
p04043
u116377108
1584064318
Python
Python (3.4.3)
py
Accepted
18
3064
431
a, b, c = map(int, input().split()) if a == 5: if b == 5: if c == 7: print("YES") else: print("NO") elif b == 7: if c == 5: print("YES") else: print("NO") else: print("NO") elif a == 7: if b == 5: if c == 5: print("YES") else: print("NO") elif b ...
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,445
s182160236
p04043
u711626986
1584062237
Python
Python (3.4.3)
py
Accepted
17
2940
154
a, b, c=map(int,input().split()) if a==b==5 or c==b==5 or a==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,210,446
s186308606
p04043
u220612891
1584049084
Python
Python (3.4.3)
py
Accepted
18
2940
106
a=input().split() if a.count('5') == 2: if 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,447
s264476531
p04043
u075433168
1584046662
Python
Python (3.4.3)
py
Accepted
17
3060
192
abc = list(map(int,input().split())) haiku = [5,7,5] for i in range(3): if haiku[i] in abc: abc.remove(haiku[i]) else: print("NO") break 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,448
s391790641
p04043
u122944896
1584045686
Python
Python (3.4.3)
py
Accepted
17
2940
338
a,b,c = map(int,input().split()) if a == 5: if b == 5: if c == 7: print("YES") else: print("NO") if b == 7: if c == 5: print("YES") else: print("NO") if a == 7: if b == 5: if c == 5: print("YES") else: ...
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,449
s390438153
p04043
u286754585
1584037939
Python
Python (3.4.3)
py
Accepted
17
2940
74
a=input() print("YES" if (a.count("5")==2 and a.count("7")==1) else "NO" )
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,450
s772041215
p04043
u679154596
1584027019
Python
Python (3.4.3)
py
Accepted
17
2940
178
a, b, c = map(int, input().split()) s = str(a) + str(b) + str(c) if s == "557": print("YES") elif s == "575": print("YES") elif s == "755": print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,451
s581778184
p04043
u017719431
1583984057
Python
Python (3.4.3)
py
Accepted
18
3060
219
nums = list(map(int, input().split())) num5 = 0 num7 = 0 for i in nums: if i == 5: num5 += 1 elif i == 7: num7 += 1 else: print("NO") 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,452
s026238090
p04043
u465152652
1583976336
Python
Python (3.4.3)
py
Accepted
17
3060
158
num = list(map(int,input().split())) a=0 b=0 for i in range(3): if num[i]==5: a+=1 if num[i]==7: b+=1 if a==2 and b==1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,453
s197442241
p04043
u288430479
1583974821
Python
Python (3.4.3)
py
Accepted
18
3188
134
a,b,c = map(int,input().split()) if (a==b==5 and c==7) or (a==c==5 and b==7) or (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,454
s255663463
p04043
u764401543
1583967563
Python
Python (3.4.3)
py
Accepted
17
2940
161
# a, b, c = map(int, input().split()) ans = 'NO' lst = list(input().split()) if lst.count('5') == 2: if lst.count('7') == 1: ans = 'YES' print(ans)
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,455
s271606878
p04043
u930705402
1583952035
Python
Python (3.4.3)
py
Accepted
17
2940
78
a=''.join(sorted(map(str,input().split()))) print('YES' if a=='557' else 'NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,456
s383805448
p04043
u867826040
1583944231
Python
Python (3.4.3)
py
Accepted
17
2940
113
a = list(map(int,input().split())) if (a.count(5) == 2) and (a.count(7) == 1): print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,457
s989113459
p04043
u927000908
1583942400
Python
Python (3.4.3)
py
Accepted
17
2940
91
s = input() 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,458
s344612433
p04043
u880277518
1583938012
Python
Python (3.4.3)
py
Accepted
17
2940
168
# A - 和風いろはちゃんイージー a,b,c=list(map(int,input().split())) if [a,b,c].count(5)==2 and [a,b,c].count(7)==1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,459
s328175554
p04043
u841623074
1583882421
Python
Python (3.4.3)
py
Accepted
17
2940
107
S=list(map(int,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,460
s452343777
p04043
u050087249
1583877733
Python
Python (3.4.3)
py
Accepted
17
2940
121
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,461
s439428861
p04043
u731603651
1583875691
Python
Python (3.4.3)
py
Accepted
17
2940
110
a=list(map(int,input().split())) if a==[5,5,7] or a==[5,7,5] 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,210,462
s633303088
p04043
u061674046
1583861006
Python
Python (3.4.3)
py
Accepted
18
2940
109
a = list(map(int,input().split())) if a.count(5) == 2 and a.count(7) == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,463
s492901655
p04043
u771538568
1583783140
Python
Python (3.4.3)
py
Accepted
17
3060
123
a,b,c=map(int,input().split()) d=min(a,b,c) e=max(a,b,c) if d==5 and e==7 and a+b+c==17: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,464
s283788675
p04043
u163874353
1583775770
Python
Python (3.4.3)
py
Accepted
17
2940
114
l = list(map(int, input().split())) if l.count(5) == 2 and l.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,465
s150686404
p04043
u075595666
1583754513
Python
Python (3.4.3)
py
Accepted
17
2940
129
a,b,c = map(int,(input().split())) l = [a,b,c] if int(l.count(5)) == 2 and int(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,466
s751468172
p04043
u075595666
1583754462
Python
Python (3.4.3)
py
Accepted
16
2940
118
l = list(map(int,input().split())) if int(l.count(5)) == 2 and int(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,467
s541839440
p04043
u716660050
1583746951
Python
Python (3.4.3)
py
Accepted
17
2940
154
a=list(map(int,input().split())) c5,c7=0,0 for i in a: if i==5: c5+=1 elif i==7: c7+=1 print("YES" if(c5==2 and c7==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,468
s217394107
p04043
u021916304
1583709904
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,469
s989980707
p04043
u775912090
1583702443
Python
Python (3.4.3)
py
Accepted
18
3060
185
a, b, c = map(int, input().split()) if (a, b, c) == (5, 5, 7): print("YES") elif (a, b, c) == (5, 7, 5): print("YES") elif (a, b, c) == (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,470
s700714339
p04043
u951947571
1583693797
Python
Python (3.4.3)
py
Accepted
17
2940
139
a, b, c = map(int, input().split()) sor_len_list = sorted([a, b, c]) if sor_len_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,210,471
s152094397
p04043
u283220417
1583690644
Python
Python (3.4.3)
py
Accepted
17
2940
102
a,b,c = map(int, input().split()) ans = "NO" if a+b+c == 17 and a*b*c == 175: ans = "YES" print(ans)
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,472
s734647227
p04043
u841531687
1583645016
Python
Python (3.4.3)
py
Accepted
18
2940
96
str = input() if str.count('5') == 2 and str.count('7') == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,473
s104476648
p04043
u652710582
1583640063
Python
Python (3.4.3)
py
Accepted
17
2940
115
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,210,474
s779748706
p04043
u123745130
1583636241
Python
Python (3.4.3)
py
Accepted
17
2940
110
n=list(input().split()) print("YES" if (n==["5","7","5"] or n==["7","5","5"] or n==["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,475
s620860203
p04043
u130900604
1583629412
Python
Python (3.4.3)
py
Accepted
17
2940
91
l=list(map(int,input().split())) l.sort() if l==[5,5,7]: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,476
s212721629
p04043
u271752821
1583621279
Python
Python (3.4.3)
py
Accepted
17
2940
124
abc = [i for i in input().split(" ")] if abc.count('5') == 2 and abc.count('7') == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,477
s977031943
p04043
u071361440
1583563626
Python
Python (3.4.3)
py
Accepted
18
3060
206
'''To count the number of occurrences of something in a programs Use count fucntion of the list ''' 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,478
s964920474
p04043
u465152652
1583558506
Python
Python (3.4.3)
py
Accepted
17
2940
242
word = list(map(int,input().split())) #print(word) ['5', '5', '7'] a=0 b=0 for i in range(3): if word[i]==int(5): a=a+1 for i in range(3): if word[i]==int(7): b=b+1 if a==2 and b==1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,479
s750753859
p04043
u451517341
1583555395
Python
Python (3.4.3)
py
Accepted
17
2940
88
List=input().split() 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,210,480
s544621735
p04043
u670311662
1583544499
Python
Python (3.4.3)
py
Accepted
17
2940
97
s = list(map(int, input().split())) print("YES" if s.count(5) == 2 and s.count(7) == 1 else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,481
s104715426
p04043
u071002307
1583523794
Python
Python (3.4.3)
py
Accepted
18
2940
104
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,210,482
s700108850
p04043
u016901717
1583459336
Python
Python (3.4.3)
py
Accepted
17
2940
109
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,483
s094345211
p04043
u599669731
1583451382
Python
Python (3.4.3)
py
Accepted
17
2940
88
List=input().split() 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,210,484
s134569423
p04043
u723583932
1583426759
Python
Python (3.4.3)
py
Accepted
17
2940
128
a=list(map(int,input().split())) a.sort() correct=[5,5,7] flag=False if a==correct: flag=True print("YES" if flag 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,485
s505312184
p04043
u541610817
1583396242
Python
Python (3.4.3)
py
Accepted
17
2940
77
w = input() print('YES' if w.count('5') == 2 and w.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,486
s971486858
p04043
u422272120
1583385296
Python
Python (3.4.3)
py
Accepted
17
2940
190
l = list(map(int, input().split())) if min(l) == 5: l.remove(5) if min(l) == 5: l.remove(5) if min(l) == 7: print ("YES") exit () print ("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,487
s384521151
p04043
u759653020
1583383854
Python
Python (3.4.3)
py
Accepted
17
2940
85
nums = input().split() nums.sort() print( "YES" if ["5","5","7"] == nums 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,488
s292555590
p04043
u620238824
1583379817
Python
Python (3.4.3)
py
Accepted
17
2940
98
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,210,489
s867586013
p04043
u126887629
1583377886
Python
Python (3.4.3)
py
Accepted
17
2940
136
num = input().split(' ') if num == ['5','7','5'] or num == ['7','5','5'] or num == ['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,490
s724324929
p04043
u368563078
1583363017
Python
Python (3.4.3)
py
Accepted
17
2940
136
num = input().split(' ') if num == ['5','7','5'] or num == ['7','5','5'] or num == ['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,491
s698145479
p04043
u098569005
1583351965
Python
Python (3.4.3)
py
Accepted
17
2940
142
a,b,c = (int(x) for x in input().split()) list = [a,b,c] if list.count(5) == 2 and list.count(7) == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,492
s858031484
p04043
u393881437
1583338417
Python
Python (3.4.3)
py
Accepted
17
2940
99
s = list(map(int, input().split())) print('YES' if s.count(5) == 2 and s.count(7) == 1 else 'NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,493
s948082286
p04043
u077898957
1583334744
Python
Python (3.4.3)
py
Accepted
17
2940
91
A = sorted(input().split()) print('YES' if A[0]=='5' and A[1]=='5' and A[2]=='7' else 'NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,494
s166617010
p04043
u000123984
1583279044
Python
Python (3.4.3)
py
Accepted
17
2940
145
a,b,c = map(int, input().split()) if a==b and b<c: print("YES") elif b==c and c<a: print("YES") elif c==a and a<b: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,495
s086546837
p04043
u000123984
1583278891
Python
Python (3.4.3)
py
Accepted
17
3060
145
a,b,c = map(int, input().split()) if a==b and b<c: print("YES") elif b==c and c<a: print("YES") elif c==a and a<b: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,496
s008333325
p04043
u453683890
1583266798
Python
Python (3.4.3)
py
Accepted
17
2940
167
line = input().split(' ') C5 = 0 C7 = 0 for i in line: if i == '5': C5 += 1 if i == '7': C7 += 1 if C5 == 2 and C7 == 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,497
s684084749
p04043
u738341948
1583232054
Python
Python (3.4.3)
py
Accepted
18
2940
221
a= list(map(int,input().strip().split())) cnt5 = 0 cnt7 = 0 for i in range(3): if a[i] == 5: cnt5 += 1 if a[i] == 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,498
s892877803
p04043
u363836311
1583219124
Python
Python (3.4.3)
py
Accepted
17
2940
210
a,b,c=map(int, input().split()) t=0 if a==5: if b==5: if c==7: t=1 elif b==7: if c==5: t=1 elif a==7: if b==5: if c==5: t=1 if t==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,499
s498129223
p04043
u263824932
1583206420
Python
Python (3.4.3)
py
Accepted
16
3060
357
A,B,C=map(int,input().split()) if A==5: if B==7: if C==5: print('YES') else: print('NO') elif B==5: if C==7: print('YES') else: print('NO') else: print('NO') elif A==7: if B==C==5: print('YES') else: ...
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,500
s892974184
p04043
u159975271
1583204072
Python
Python (3.4.3)
py
Accepted
17
2940
150
A,B,C= list(map(int, input().split())) check1 = A * B * C check2 = A + B + C if check1 == 175 and check2 == 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,501
s087433859
p04043
u706159977
1583190817
Python
Python (3.4.3)
py
Accepted
18
2940
100
a=list(map(int,input().split())) if a[0]*a[1]*a[2] ==5*7*5: print("YES") else : print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,502
s595752428
p04043
u434311880
1583179280
Python
Python (3.4.3)
py
Accepted
17
2940
181
A, B, C = map(int,input().split()) if A == 7 and B == C == 5: print("YES") elif A==B==5 and C==7: print("YES") elif A==C==5 and 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,503
s266510978
p04043
u646014827
1583175095
Python
Python (3.4.3)
py
Accepted
16
2940
183
def main(): a = list(input().split()) a = [int(aa) for aa in a] a = sorted(a) if a==[5,5,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,210,504
s421147646
p04043
u428132025
1583128982
Python
Python (3.4.3)
py
Accepted
17
2940
146
a, b, c = map(int, input().split()) abc = sorted([a, b, c]) if abc[0] == 5 and abc[1] == 5 and abc[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,505
s897950454
p04043
u641460756
1583122340
Python
Python (3.4.3)
py
Accepted
17
2940
110
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,506
s752640206
p04043
u994307795
1583119323
Python
Python (3.4.3)
py
Accepted
17
2940
95
abc = input() if abc.count('5') == 2 and abc.count('7') == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,507
s620654418
p04043
u363995337
1583113775
Python
Python (3.4.3)
py
Accepted
17
2940
110
words = list(input()) if(words.count('5') == 2 and words.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,508
s349275143
p04043
u238605674
1583111430
Python
Python (3.4.3)
py
Accepted
17
2940
143
I=input().split() c5=0 c7=0 for i in I: if i=="5": c5+=1 elif i=="7": c7+=1 if c5==2 and c7==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,509
s947752192
p04043
u674418975
1583110812
Python
Python (3.4.3)
py
Accepted
17
2940
93
item = list(map(int,input().split())) if(sum(item) != 17): 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,510
s468320507
p04043
u073866020
1583108868
Python
Python (3.4.3)
py
Accepted
18
2940
84
a = 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,511
s222292789
p04043
u923270446
1583102925
Python
Python (3.4.3)
py
Accepted
18
3064
298
input1 = list(map(int,input().split())) A = input1[0] B = input1[1] C = input1[2] if A == 5: if B == 5 and C == 7: print("YES") elif B == 7 and C == 5: print("YES") else: print("NO") elif A == 7: if B == 5 and C == 5: print("YES") else: print("NO") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,512
s140427734
p04043
u721425712
1583091406
Python
Python (3.4.3)
py
Accepted
17
2940
119
# A 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,513
s150808768
p04043
u054514819
1583090189
Python
Python (3.4.3)
py
Accepted
16
2940
101
nums = sorted(list(map(int, input().split()))) if nums==[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,514
s118914999
p04043
u256833330
1583080391
Python
Python (3.4.3)
py
Accepted
17
2940
80
l=input().split() print('YES' if l.count('5')==2 and l.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,515
s976908919
p04043
u285595848
1583072521
Python
Python (3.4.3)
py
Accepted
17
2940
81
l = input().split() print("YES" if l.count("5")==2 and l.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,516