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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s423435028 | p04043 | u226779434 | 1596546995 | Python | Python (3.8.2) | py | Accepted | 25 | 9076 | 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,209,617 |
s002224767 | p04043 | u806976856 | 1596505864 | Python | Python (3.8.2) | py | Accepted | 25 | 8892 | 103 | s=list(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,209,618 |
s252795119 | p04043 | u941047297 | 1596502119 | Python | Python (3.8.2) | py | Accepted | 23 | 9096 | 144 | def main():
x = sorted(list(map(int, input().split())))
print('YES' if x == [5, 5, 7] else 'NO')
if __name__ == '__main__':
main()
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,619 |
s235622217 | p04043 | u848535504 | 1596488144 | Python | Python (3.8.2) | py | Accepted | 26 | 9008 | 123 | A = list(map(str,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,209,620 |
s994834617 | p04043 | u848535504 | 1596487970 | Python | Python (3.8.2) | py | Accepted | 25 | 9144 | 90 | 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,209,621 |
s938177926 | p04043 | u876742094 | 1596476591 | Python | Python (3.8.2) | py | Accepted | 23 | 9056 | 124 | abc=sorted(list(map(int,input().split())))
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,209,622 |
s313275510 | p04043 | u980503157 | 1596467670 | Python | Python (3.8.2) | py | Accepted | 23 | 9092 | 93 | s = input()
s = s.split()
s.sort()
if s == ["5","5","7"]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,623 |
s006852653 | p04043 | u385823012 | 1596467670 | Python | Python (3.8.2) | py | Accepted | 27 | 9020 | 91 | s= input()
s = s.split()
s.sort()
if s == ["5","5","7"]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,624 |
s850010573 | p04043 | u464205401 | 1596459453 | Python | Python (3.8.2) | py | Accepted | 27 | 9152 | 80 | a = sorted(list(map(int,input().split())))
print('YES' if a==[5,5,7] else 'NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,625 |
s891061621 | p04043 | u582084082 | 1596420381 | Python | Python (3.8.2) | py | Accepted | 24 | 9092 | 211 | 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,209,626 |
s747716719 | p04043 | u500823377 | 1596390514 | Python | Python (3.8.2) | py | Accepted | 25 | 9028 | 123 | input_line = input().split()
if input_line.count("5") == 2 and input_line.count("7") == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,627 |
s504149846 | p04043 | u467177102 | 1596373590 | Python | Python (3.8.2) | py | Accepted | 30 | 8924 | 103 | l = input().split()
if l.count("7") == 1 and l.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,209,628 |
s059504130 | p04043 | u467177102 | 1596373559 | Python | Python (3.8.2) | py | Accepted | 25 | 9032 | 103 | l = input().split()
if l.count('7') == 1 and l.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,209,629 |
s447390195 | p04043 | u073729602 | 1596370297 | Python | Python (3.8.2) | py | Accepted | 24 | 8936 | 103 | l = input().split()
if l.count('7') == 1 and l.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,209,630 |
s944340320 | p04043 | u844813573 | 1596339516 | Python | Python (3.8.2) | py | Accepted | 25 | 8940 | 103 | line = input()
if line.count("5") == 2 and line.count("7") == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,631 |
s313374300 | p04043 | u175217658 | 1596327415 | Python | Python (3.8.2) | py | Accepted | 20 | 8872 | 160 | A, B, C = map(int, input().split())
S = [0]*3
S[0] = A
S[1] = B
S[2] = C
S.sort()
if(S[0]==5 and 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,209,632 |
s927141555 | p04043 | u999772319 | 1596307004 | Python | Python (3.8.2) | py | Accepted | 25 | 8996 | 112 | abc=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,209,633 |
s448571188 | p04043 | u891847179 | 1596260442 | Python | Python (3.8.2) | py | Accepted | 24 | 9032 | 135 | def MAP(): return map(int, input().split())
a, b, c = sorted(MAP())
if a == 5 and b == 5 and c == 7:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,634 |
s205870145 | p04043 | u633923594 | 1596254322 | Python | Python (3.8.2) | py | Accepted | 30 | 8864 | 189 | # ABC158 A
def main():
list = input().split()
list.sort()
if ''.join(list) == '557':
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,209,635 |
s025352639 | p04043 | u633923594 | 1596250563 | Python | Python (3.8.2) | py | Accepted | 24 | 9004 | 177 | def main():
list = input().split()
list.sort()
if ''.join(list) == '557':
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,209,636 |
s790492783 | p04043 | u633923594 | 1596247953 | Python | Python (3.8.2) | py | Accepted | 26 | 8992 | 189 | # ABC158 A
def main():
list = input().split()
list.sort()
if ''.join(list) == '557':
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,209,637 |
s449627703 | p04043 | u739843002 | 1596230753 | Python | Python (3.8.2) | py | Accepted | 22 | 8736 | 101 | tmp = input().split(" ")
print("YES") if tmp.count("5") == 2 and tmp.count("7") == 1 else print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,638 |
s575600399 | p04043 | u103208639 | 1596176167 | Python | Python (3.8.2) | py | Accepted | 23 | 9040 | 108 | a=list(map(int, input().split()))
if a.count(5)==2 and a.count(7)==1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,639 |
s678504198 | p04043 | u989851123 | 1596168657 | Python | Python (3.8.2) | py | Accepted | 27 | 8916 | 113 | a,b,c = map(str, input().split())
ok = ["575", "557", "755"]
if (a+b+c in ok):
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,640 |
s482300553 | p04043 | u841919141 | 1596135539 | Python | Python (3.8.2) | py | Accepted | 28 | 9136 | 107 | S = list(map(int, input().split()))
if S.count(5) == 2 and S.count(7):
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,641 |
s971792619 | p04043 | u044964932 | 1596130550 | Python | Python (3.8.2) | py | Accepted | 25 | 9192 | 311 | def main():
a, b, c = map(int, input().split())
if a == 5 and b == 5 and c == 7:
ans = 'YES'
elif a == 5 and b == 7 and c == 5:
ans = 'YES'
elif a == 7 and b == 5 and c == 5:
ans = 'YES'
else:
ans = 'NO'
print(ans)
if __name__ == "__main__":
main()
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,642 |
s233092147 | p04043 | u981931040 | 1596103534 | Python | PyPy3 (7.3.0) | py | Accepted | 69 | 61784 | 108 | A = list(map(int, input().split()))
A.sort()
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,209,643 |
s209788806 | p04043 | u915309968 | 1596047269 | Python | Python (3.8.2) | py | Accepted | 28 | 9036 | 203 | def test():
x=input()
x=x.split()
if x == ['5','5','7']:
print("YES")
elif x == ['5','7','5']:
print("YES")
elif x == ['7','5','5']:
print("YES")
else:
print("NO")
test() | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,644 |
s408788717 | p04043 | u678167152 | 1596025915 | Python | PyPy3 (7.3.0) | py | Accepted | 63 | 61608 | 133 | def check():
A = list(map(int, input().split()))
if A.count(5)!=2 or A.count(7)!=1:
return 'NO'
return 'YES'
print(check()) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,645 |
s380520985 | p04043 | u670567845 | 1596024211 | Python | PyPy3 (7.3.0) | py | Accepted | 63 | 61832 | 111 | 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,209,646 |
s497346699 | p04043 | u156815136 | 1596022362 | Python | Python (3.8.2) | py | Accepted | 36 | 10252 | 840 | #from statistics import median
#import collections
#aa = collections.Counter(a) # list to list || .most_common(2)で最大の2個とりだせるお a[0][0]
from fractions import gcd
from itertools import combinations,permutations,accumulate # (string,3) 3回
#from collections import deque
from collections import deque,defaultdict,Counter
impo... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,647 |
s368542015 | p04043 | u186838327 | 1596022349 | Python | PyPy3 (7.3.0) | py | Accepted | 65 | 61608 | 103 | L = list(map(int, input().split()))
L.sort()
if L == [5, 5, 7]:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,648 |
s714580178 | p04043 | u493520238 | 1596022311 | Python | PyPy3 (7.3.0) | py | Accepted | 72 | 61580 | 130 | al = list(map(int, input().split()))
al.sort()
if al[0] == 5 and al[1] == 5 and al[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,209,649 |
s427533095 | p04043 | u241159583 | 1596022276 | Python | Python (3.8.2) | py | Accepted | 22 | 9104 | 82 | a = sorted(list(map(int, input().split())))
print("YES" if a == [5,5,7] else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,650 |
s628323653 | p04043 | u761320129 | 1596022273 | Python | Python (3.8.2) | py | Accepted | 24 | 9084 | 92 | a = list(map(int,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,209,651 |
s290238084 | p04043 | u396211450 | 1596010362 | Python | Python (3.8.2) | py | Accepted | 28 | 9084 | 104 | 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,209,652 |
s322525755 | p04043 | u259190728 | 1596010288 | Python | Python (3.8.2) | py | Accepted | 30 | 9228 | 1,400 | from sys import stdin,stdout
import bisect
import math
def st():
return list(stdin.readline().strip())
def inp():
return int(stdin.readline())
def li():
return list(map(int,stdin.readline().split()))
def mp():
return map(int,stdin.readline().split())
def pr(n):
stdout.write(str(n)+"\n")
def... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,653 |
s726172732 | p04043 | u957799665 | 1595992563 | Python | Python (3.8.2) | py | Accepted | 31 | 9100 | 190 | n_5 = 0
n_7 = 0
a = map(int, input().split())
for i in a:
if i == 5:
n_5 += 1
elif i == 7:
n_7 += 1
if n_5 == 2 and n_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,209,654 |
s404969708 | p04043 | u648881683 | 1595982428 | Python | Python (3.8.2) | py | Accepted | 39 | 10016 | 631 | import bisect, collections, copy, heapq, itertools, math, string, sys
input = lambda: sys.stdin.readline().rstrip()
sys.setrecursionlimit(10**7)
INF = float('inf')
def I(): return int(input())
def F(): return float(input())
def SS(): return input()
def LI(): return [int(x) for x in input().split()]
def LI_(): return [... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,655 |
s751267612 | p04043 | u957799665 | 1595966504 | Python | Python (3.8.2) | py | Accepted | 26 | 8848 | 190 | n_5 = 0
n_7 = 0
a = map(int, input().split())
for i in a:
if i == 5:
n_5 += 1
elif i == 7:
n_7 += 1
if n_5 == 2 and n_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,209,656 |
s167326061 | p04043 | u099212858 | 1595937595 | Python | Python (3.8.2) | py | Accepted | 25 | 9164 | 138 | mylist = list(map(int,input().split()))
x = mylist.count(5)
y = mylist.count(7)
if x == 2 and y == 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,209,657 |
s294214122 | p04043 | u572032237 | 1595930964 | Python | Python (3.8.2) | py | Accepted | 24 | 8944 | 96 | list = input().split()
list.sort()
if ''.join(list) == '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,209,658 |
s700548882 | p04043 | u075304271 | 1595908443 | Python | Python (3.8.2) | py | Accepted | 37 | 10352 | 307 | import math
import collections
import fractions
import itertools
import functools
import operator
def solve():
iroha = list(map(int, input().split()))
if iroha.count(5)==2 and iroha.count(7)==1:
print("YES")
else:
print("NO")
return 0
if __name__ == "__main__":
solve() | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,659 |
s392934466 | p04043 | u771541471 | 1595897873 | Python | Python (3.8.2) | py | Accepted | 23 | 9072 | 172 | inp=list(map(int,input().split()))
five=0
seven=0
for i in inp:
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,209,660 |
s795593233 | p04043 | u083184913 | 1595880597 | Python | Python (3.8.2) | py | Accepted | 28 | 9044 | 113 | val1=list(map(int,input().split()))
if val1.count(5)==2 and val1.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,209,661 |
s172524413 | p04043 | u980503157 | 1595870274 | Python | Python (3.8.2) | py | Accepted | 26 | 8896 | 95 | s = input()
s = s.split()
s.sort()
if s == ["5","5","7"]:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,662 |
s477902734 | p04043 | u200245833 | 1595850775 | Python | Python (3.8.2) | py | Accepted | 29 | 9172 | 277 | listA=list(map(int,input().split()))
if listA[0] == 5 and listA[1] == 5 and listA[2] == 7:
print('YES')
elif listA[0] == 5 and listA[1] == 7 and listA[2] == 5:
print('YES')
elif listA[0] == 7 and listA[1] == 5 and listA[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,209,663 |
s911261247 | p04043 | u079699418 | 1595846227 | Python | Python (3.8.2) | py | Accepted | 27 | 9028 | 96 | x = input()
x=x.split()
x.sort()
if x == ['5','5','7']:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,664 |
s005271638 | p04043 | u980503157 | 1595829176 | Python | Python (3.8.2) | py | Accepted | 28 | 9088 | 109 | form = input()
form = form.split()
form.sort()
if form == ["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,209,665 |
s062467243 | p04043 | u790653524 | 1595819949 | Python | Python (3.8.2) | py | Accepted | 26 | 9124 | 98 | a, b, c = map(int, input().split())
d = a + b + c
if d == 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,209,666 |
s854702063 | p04043 | u894312115 | 1595789353 | Python | Python (3.8.2) | py | Accepted | 27 | 9044 | 80 | ar=sorted(list(map(int,input().split())))
print("YES" if ar==[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,209,667 |
s049054325 | p04043 | u187737912 | 1595779418 | Python | Python (3.8.2) | py | Accepted | 25 | 9172 | 291 | true_list = ["5","7","5"]
val = input()
splited_val = val.split()
diff = set(true_list) ^ set(splited_val)
if len(diff) == 0:
splited_val_int = [int(s) for s in splited_val]
if sum(splited_val_int) == 17:
print("YES")
else:
print("NO")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,668 |
s022287674 | p04043 | u797165415 | 1595773838 | Python | Python (3.8.2) | py | Accepted | 25 | 9168 | 181 | 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,209,669 |
s468048195 | p04043 | u297240373 | 1595760922 | Python | Python (3.8.2) | py | Accepted | 23 | 8976 | 246 | a, b, c = input().split()
if a == b == "5" and c == "7":
print("YES")
elif a == c == "5" and b == "7":
print("YES")
elif b == c == "5" and a == "7":
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,670 |
s056545496 | p04043 | u875113233 | 1595734465 | Python | Python (3.8.2) | py | Accepted | 23 | 9132 | 161 | def main():
a,b,c=map(int,input().split())
li=[a,b,c]
if sorted(li)==[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,209,671 |
s241804194 | p04043 | u271469978 | 1595721955 | Python | Python (3.8.2) | py | Accepted | 30 | 9040 | 101 | ABC = input().replace(' ', '')
print('YES' if ABC.count('5') == 2 and ABC.count('7') == 1 else 'NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,672 |
s494447869 | p04043 | u023127434 | 1595709106 | Python | Python (3.8.2) | py | Accepted | 26 | 9084 | 102 | s = input().split()
if s.count("7") == 1 and s.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,209,673 |
s541759775 | p04043 | u229156891 | 1595704943 | Python | Python (3.8.2) | py | Accepted | 21 | 9016 | 129 | A, B, C = map(int, input().split())
H = [A, B, C]
if H.count(5) == 2 and H.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,209,674 |
s523923340 | p04043 | u045793300 | 1595684269 | Python | Python (3.8.2) | py | Accepted | 28 | 9012 | 99 |
s = input().split()
if s.count('7') == 1 and s.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,209,675 |
s757650744 | p04043 | u487288850 | 1595654207 | Python | Python (3.8.2) | py | Accepted | 27 | 9144 | 95 | xs = list(map(int,input().split()))
print('YES' if xs.count(5)==2 and xs.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,209,676 |
s559766155 | p04043 | u758815106 | 1595626942 | Python | Python (3.8.2) | py | Accepted | 25 | 9088 | 127 | 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,209,677 |
s487708339 | p04043 | u000644874 | 1595620791 | Python | Python (3.8.2) | py | Accepted | 21 | 9108 | 107 | a,b,c = sorted(map(int, input().split()))
if (a+b+c==17)&(a==b)&(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,209,678 |
s477874387 | p04043 | u230621983 | 1595542063 | Python | Python (3.8.2) | py | Accepted | 26 | 9088 | 94 | 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,209,679 |
s091343729 | p04043 | u926046014 | 1595535650 | Python | PyPy3 (7.3.0) | py | Accepted | 62 | 61772 | 198 | a=list(map(int,input().split()))
lst=[0,0]
for i in range(3):
if a[i]==5:
lst[0]+=1
elif a[i]==7:
lst[1]+=1
if lst[0]==2 and lst[1]==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,209,680 |
s567095203 | p04043 | u523248411 | 1595462029 | Python | Python (3.8.2) | py | Accepted | 25 | 8936 | 212 | def test():
x = input()
x = x.split()
if x == ['5', '5', '7']:
print ("YES")
elif x == ['5', '7', '5']:
print ("YES")
elif x == ['7', '5', '5']:
print ("YES")
else:
print ("NO")
test() | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,681 |
s605951483 | p04043 | u315543831 | 1595462029 | Python | Python (3.8.2) | py | Accepted | 23 | 8796 | 205 | def test():
x=input()
x = x.split()
if x == ['5','5','7']:
print("YES")
elif x == ['5','7','5']:
print("YES")
elif x == ['7','5','5']:
print("YES")
else:
print("NO")
test() | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,682 |
s840830848 | p04043 | u061361273 | 1595462025 | Python | Python (3.8.2) | py | Accepted | 25 | 8964 | 213 | def test():
x = input()
x = x.split()
if x == ['5', '5', '7']:
print("YES")
elif x == ['5', '7', '5']:
print("YES")
elif x == ['7', '5', '5']:
print("YES")
else:
print("NO")
test() | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,683 |
s511857106 | p04043 | u628161625 | 1595462015 | Python | Python (3.8.2) | py | Accepted | 23 | 9004 | 204 | def test():
x = input()
x = x.split()
if x == ['5','5','7']:
print("YES")
elif x == ['5','7','5']:
print("YES")
elif x == ['7','5','5']:
print("YES")
else:
print("NO")
test()
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,684 |
s593652895 | p04043 | u767797498 | 1595382937 | Python | Python (3.8.2) | py | Accepted | 25 | 8892 | 79 | l=list(input().split())
l.sort()
print("YES" if " ".join(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,209,685 |
s691785593 | p04043 | u289288647 | 1595378894 | Python | Python (3.8.2) | py | Accepted | 30 | 9008 | 110 | 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,209,686 |
s576948664 | p04043 | u298101891 | 1595374837 | Python | Python (3.8.2) | py | Accepted | 25 | 9036 | 152 | a = input().strip()
lst=[]
for i in a:
if i != " ":
lst.append(i)
lst.sort()
if lst == ['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,209,687 |
s539050465 | p04043 | u414920281 | 1595341957 | Python | Python (3.8.2) | py | Accepted | 24 | 9168 | 127 | abc=list(map(int,input().split()))
abc.sort()
if abc[0]==5 and abc[1]==5 and abc[2]==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,209,688 |
s455282561 | p04043 | u723425623 | 1595336074 | Python | Python (3.8.2) | py | Accepted | 23 | 9048 | 192 | b=list(map(int,input().split()))
if(b==[5,5,7]):
print("YES")
exit()
if(b==[5,7,5]):
print("YES")
exit()
if(b==[7,5,5]):
print("YES")
exit()
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,689 |
s026621437 | p04043 | u797106134 | 1595327102 | Python | Python (3.8.2) | py | Accepted | 24 | 9004 | 191 | abc = list(map(int,input().split()))
if abc == [5,5,7]:
print('YES')
exit()
if abc == [7,5,5]:
print('YES')
exit()
if abc == [5,7,5]:
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,209,690 |
s725043458 | p04043 | u354623416 | 1595228741 | Python | Python (3.8.2) | py | Accepted | 28 | 9020 | 89 | l=list(map(int,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,209,691 |
s372199565 | p04043 | u354623416 | 1595228018 | Python | Python (3.8.2) | py | Accepted | 25 | 9068 | 131 | lst = sorted(list(map(int, input().split())))
if lst[-1] == 7 and lst[0] == 5 and lst[1] == 5:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,692 |
s652845992 | p04043 | u119148115 | 1595222416 | Python | PyPy3 (7.3.0) | py | Accepted | 70 | 61620 | 246 | import sys
def MI(): return map(int,sys.stdin.readline().rstrip().split())
A,B,C = MI()
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,209,693 |
s907011231 | p04043 | u998733244 | 1595204137 | Python | PyPy3 (7.3.0) | py | Accepted | 71 | 61720 | 106 | 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,209,694 |
s199748337 | p04043 | u018808362 | 1595144252 | Python | Python (3.8.2) | py | Accepted | 26 | 9108 | 222 | A, B, C =map(int,input().split())
# B should be 7 and A and C should be 5
if A==7:
a=A
b=B
A=b
B=a
elif C==7:
c=C
b=B
C=b
B=c
if A==5 and B==7 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,209,695 |
s687353373 | p04043 | u047197186 | 1595098325 | Python | Python (3.8.2) | py | Accepted | 27 | 9036 | 131 | lst = sorted(list(map(int, input().split())))
if lst[-1] == 7 and lst[0] == 5 and lst[1] == 5:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,696 |
s106235384 | p04043 | u962985517 | 1595092491 | Python | Python (3.8.2) | py | Accepted | 25 | 8800 | 111 | li=list(map(int,input().split()))
ans = 'YES' if (li.count(5) == 2) and (li.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,209,697 |
s664242974 | p04043 | u101232733 | 1595043726 | Python | Python (3.8.2) | py | Accepted | 26 | 9004 | 97 | nums= input().split(' ')
nums.sort()
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,209,698 |
s675530249 | p04043 | u387449470 | 1595006560 | Python | Python (3.8.2) | py | Accepted | 25 | 8920 | 88 | l=list(map(int,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,209,699 |
s544927547 | p04043 | u833492079 | 1594958173 | Python | Python (3.8.2) | py | Accepted | 28 | 8868 | 127 | A = [i for i in input().split()]
A.sort()
s = "".join(A)
YN = lambda b: print('YES') if b else print('NO')
YN( s == "557" )
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,700 |
s840500641 | p04043 | u579508806 | 1594928796 | Python | Python (3.8.2) | py | Accepted | 23 | 9072 | 70 | print("YES" if sum([int(x) for x in input().split()]) == 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,209,701 |
s190047629 | p04043 | u040298438 | 1594925696 | Python | Python (3.8.2) | py | Accepted | 24 | 8776 | 80 | a = list(sorted(input().split()))
print("YES" if "".join(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,209,702 |
s781097452 | p04043 | u840841119 | 1594922282 | Python | Python (3.8.2) | py | Accepted | 24 | 9028 | 100 | A,B,C = map(int, input().split())
list = sorted([A,B,C])
print('YES' if list == [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,209,703 |
s445084080 | p04043 | u543373102 | 1594862762 | Python | Python (3.8.2) | py | Accepted | 23 | 9160 | 115 | 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,209,704 |
s048122350 | p04043 | u271064067 | 1594856791 | Python | Python (3.8.2) | py | Accepted | 23 | 9188 | 265 | a, b, c = map(int, input().split())
n_5 = 0
n_7 = 0
if a == 5:
n_5 +=1
elif a == 7:
n_7 +=1
if b == 5:
n_5 +=1
elif b == 7:
n_7 +=1
if c == 5:
n_5 +=1
elif c == 7:
n_7 +=1
if n_5 == 2 and n_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,209,705 |
s619646441 | p04043 | u456337115 | 1594789367 | Python | PyPy3 (7.3.0) | py | Accepted | 61 | 61808 | 166 | l = list(map(int,input().split()))
c1 =0
c2=0
for n in l:
if n == 5:
c1 +=1
elif n==7:
c2+=1
if c1==2 and c2==1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,706 |
s021553958 | p04043 | u551351897 | 1594788748 | Python | Python (3.8.2) | py | Accepted | 23 | 9060 | 126 | a = list(map(int, input().split()))
a.sort()
if a[0] == 5 and a[1] == 5 and a[2] == 7:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,707 |
s672296197 | p04043 | u991604406 | 1594765097 | Python | Python (3.8.2) | py | Accepted | 21 | 8872 | 197 | a = [int(x) for x in input().split()]
countF = 0
countS = 0
for i in range(3):
countF += a[i] == 5
countS += a[i] == 7
if countF == 2 and countS == 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,209,708 |
s722084447 | p04043 | u035907840 | 1594735684 | Python | PyPy3 (7.3.0) | py | Accepted | 73 | 61560 | 148 | A, B, C = map(int, input().split())
num = [0]*11
num[A] += 1
num[B] += 1
num[C] += 1
ans = 'YES' if num[5] == 2 and num[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,209,709 |
s040144391 | p04043 | u970198631 | 1594692752 | Python | Python (3.8.2) | py | Accepted | 25 | 8916 | 111 | MM = input().split()
a = MM.count('5')
b = MM.count('7')
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,209,710 |
s401625037 | p04043 | u323045245 | 1594689013 | Python | Python (3.8.2) | py | Accepted | 24 | 9028 | 120 | moji=list(map(int,input().split()))
if moji.count(7) == 1 and moji.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,209,711 |
s640901301 | p04043 | u113255362 | 1594611743 | Python | Python (3.8.2) | py | Accepted | 27 | 9108 | 165 | A,B,C = map(int,input().split())
res = "NO"
if A == 5 or A == 7:
if B == 5 or B == 7:
if C == 5 or C == 7:
if A+B+C == 17:
res = "YES"
print(res) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,712 |
s065534762 | p04043 | u328751895 | 1594607327 | Python | Python (3.8.2) | py | Accepted | 23 | 8852 | 398 | clause_list = list(map(int, input().split()))
for index, clause in enumerate(clause_list):
if clause == 5:
clause_list.pop(index)
break
for index, clause in enumerate(clause_list):
if clause == 7:
clause_list.pop(index)
break
for index, clause in enumerate(clause_list):
if clause == 5:
clau... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,713 |
s689518474 | p04043 | u112065131 | 1594593199 | Python | Python (3.8.2) | py | Accepted | 29 | 9108 | 233 | l = list(map(int, input().split()))
counter5 = 0
counter7 = 0
for num in l:
if num == 5:
counter5+=1
if num == 7:
counter7+=1
if counter5 == 2 and counter7 == 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,209,714 |
s878810182 | p04043 | u736546944 | 1594573205 | Python | PyPy3 (7.3.0) | py | Accepted | 67 | 61640 | 153 | a, b, c = input().split()
LIST = [a, b, c]
five = LIST.count("5")
seven = LIST.count("7")
if five == 2 and seven == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,715 |
s371317440 | p04043 | u482080156 | 1594527514 | Python | Python (3.8.2) | py | Accepted | 25 | 9104 | 148 | l=list(map(int,input().split()))
if(l.count(5)==2):
if(l.count(7)==1):
print("YES")
else:
print("NO")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,716 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.