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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s117058339 | p04043 | u673361376 | 1579115276 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 80 | print('YES' if [5, 5, 7] == sorted(list(map(int, input().split()))) 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,717 |
s528322557 | p04043 | u796877631 | 1579058078 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 124 | a,b,c=map(int,input().split())
List=[a,b,c]
if List.count(5)==2 and List.count(7)==1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,718 |
s276782828 | p04043 | u218487926 | 1578971277 | 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,719 |
s638244089 | p04043 | u671211357 | 1578967559 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 303 | hantei = []
A,B,C=map(int,input().split())
hantei.append(A)
hantei.append(B)
hantei.append(C)
if 5 in hantei:
hantei.pop(hantei.index(5))
if 5 in hantei:
if 7 in hantei:
print("YES")
else:
print("NO")
else:
print("NO")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,720 |
s333843654 | p04043 | u225388820 | 1578967293 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 94 | a=list(map(int,input().split()))
if sorted(a)==[5,5,7]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,721 |
s205592468 | p04043 | u761989513 | 1578967278 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 102 | a = sorted(list(map(int, input().split())))
if a == [5, 5, 7]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,722 |
s497591845 | p04043 | u075012704 | 1578967255 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 102 | X = sorted(list(map(int, input().split())))
if X == [5, 5, 7]:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,723 |
s006656093 | p04043 | u056599756 | 1578949646 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 80 | a=input().split()
print("YES" if a.count("5")==2 and a.count("7")==1 else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,724 |
s446682328 | p04043 | u416735281 | 1578936010 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 67 | print('YES' if ''.join(sorted(input().split())) == '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,725 |
s532527646 | p04043 | u230717961 | 1578930515 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 133 | str_list = [int(i) for i in input().split()]
if str_list.count(5) == 2 and str_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,726 |
s040765517 | p04043 | u293459994 | 1578887674 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 188 | s = input().split()
five=0
seven=0
for a in s:
if(a == "5"):
five += 1
elif(a=="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,727 |
s889839273 | p04043 | u881116515 | 1578886968 | 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,728 |
s667777697 | p04043 | u243572357 | 1578855359 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 93 | a = input().split()
if a.count('5') == 2 and a.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,729 |
s584254468 | p04043 | u566297428 | 1578853602 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 93 | ABC = map(int,input().split())
if sorted(ABC) == [5,5,7]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,730 |
s326532864 | p04043 | u898967808 | 1578848576 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 98 | abc = list(map(int,input().split()))
if sorted(abc) == [5,5,7]:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,731 |
s090969979 | p04043 | u897328029 | 1578797490 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 120 | a, b, c = list(map(int, input().split()))
s = tuple(sorted([a, b, c]))
ans = 'YES' if s == (5,5,7) 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,210,732 |
s003626298 | p04043 | u241190800 | 1578793282 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 117 | tupni = [int(idx) for idx in input().split(" ")]
tupni.sort()
if tupni == [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,733 |
s198083398 | p04043 | u273010357 | 1578778299 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 114 | li = list(map(int, input().split()))
if li.count(5)==2 and li.count(7)==1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,734 |
s301701426 | p04043 | u749770850 | 1578718200 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 112 | 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,735 |
s237203360 | p04043 | u178432859 | 1578694049 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 106 | l = [5,5,7]
a = list(map(int, input().split()))
a.sort()
if a == l:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,736 |
s524678000 | p04043 | u072717685 | 1578629054 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 115 | l1 = [int(i) for i in input().split()]
if l1.count(5) == 2 and l1.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,737 |
s645307498 | p04043 | u961674365 | 1578620664 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 68 | print(['NO','YES'][sorted(list(map(int,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,738 |
s133578512 | p04043 | u696444274 | 1578571524 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 189 | a=list(map(int,input().split()))
f=0
s=0
for i in range(3):
if a[i]==5:
f+=1
elif a[i]==7:
s+=1
if s==1 and f==2:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,739 |
s116117345 | p04043 | u297767059 | 1578532633 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 324 | import sys
def solve(inp):
A = list(map(int, inp.readline().strip().split(' ')))
A = sorted(A)
if A[0] == 5 and A[1] == 5 and A[2] == 7:
return "YES"
else:
return "NO"
def main():
result = solve(sys.stdin)
if result:
print(result)
if __name__ == '__main__':
mai... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,740 |
s789430782 | p04043 | u709686535 | 1578455527 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 135 | sort_list = list(map(int, input().split()))
if sort_list.count(7) == 1 and sort_list.count(5) == 2:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,741 |
s253006933 | p04043 | u896791216 | 1578455401 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 118 | a = list(map(int, input().split()))
a.sort()
if a[0] == 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,742 |
s759579745 | p04043 | u735008991 | 1578453402 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 86 | a = input().split()
print("YES" if a.count("5") == 2 and a.count("7") == 1 else "NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,743 |
s667488374 | p04043 | u226912938 | 1578424604 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 156 | a, b, c = map(int, input().split())
Length = [a, b, c]
if (Length.count(7) == 1) and (Length.count(5) == 2):
ans = 'YES'
else:
ans = 'NO'
print(ans) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,744 |
s052420118 | p04043 | u995062424 | 1578363359 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 141 | a = input().split()
if a.count('5') == 2:
if a.count('7') == 1:
print('YES')
else:
print('NO')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,745 |
s055448522 | p04043 | u057993957 | 1578363305 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 92 | sets = sorted(list(map(int, input().split())))
print('YES' if sets == [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,746 |
s148898511 | p04043 | u995062424 | 1578362473 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 141 | a = input().split()
if a.count('5') == 2:
if a.count('7') == 1:
print('YES')
else:
print('NO')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,747 |
s211815608 | p04043 | u988289411 | 1578347998 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 230 | # -*- coding: utf-8 -*-
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,748 |
s578853591 | p04043 | u427984570 | 1578324943 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 254 | num= input().split()
count5 = 0
count7 = 0
for i in range(len(num)):
if num[i] == '5':
count5 += 1
elif num[i] == '7':
count7 += 1
else:
continue
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,749 |
s013627122 | p04043 | u823044869 | 1578322736 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 289 | a,b,c = map(int,input().split())
fcount = 0
scount = 0
if a == 5 :
fcount += 1
elif a == 7:
scount += 1
if b == 5 :
fcount += 1
elif b == 7:
scount += 1
if c == 5 :
fcount += 1
elif c == 7:
scount += 1
if fcount == 2 and scount == 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,750 |
s015329756 | p04043 | u823044869 | 1578321814 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 291 | a,b,c = map(int,input().split())
fcount = 0
scount = 0
if a == 5 :
fcount += 1
elif a == 7:
scount += 1
if b == 5 :
fcount += 1
elif b == 7:
scount += 1
if c == 5 :
fcount += 1
elif c == 7:
scount += 1
if fcount == 2 and scount == 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,751 |
s566722853 | p04043 | u779147224 | 1578190985 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 91 | a = sorted(map(int, input().split()))
if a == [5, 5, 7]:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,752 |
s167319169 | p04043 | u490553751 | 1578184180 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 164 | import sys
input = sys.stdin.readline
li = [int(i) for i in input().split()]
li.sort()
a = "NO"
if li[0] == 5 and li[1] == 5 and li[2] == 7 :
a = "YES"
print(a) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,753 |
s634115431 | p04043 | u838786721 | 1578178174 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 85 | a,b,c = map(int,input().split())
if a*b*c == 5*5*7:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,754 |
s679408776 | p04043 | u185037583 | 1578176751 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 71 | s=input()
print('YES' if s.count('5')==2 and s.count('7')==1 else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,755 |
s026723178 | p04043 | u972892985 | 1578163827 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 169 | a, b, c = map(int,input().split())
if a == 5 and b == 5:
print("YES")
elif b == 5 and c == 5:
print("YES")
elif a == 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,756 |
s588132435 | p04043 | u058592821 | 1578128794 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 219 | nums = [int(i) for i in input().split()]
cnt_5 = 0
cnt_7 = 0
for i in range(3):
if nums[i] == 5:
cnt_5 += 1
if nums[i] == 7:
cnt_7 += 1
if cnt_5 == 2 and cnt_7 == 1:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,757 |
s424588772 | p04043 | u839507491 | 1578111426 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 108 | nums = str(input())
if nums.count('5') == 2 and nums.count('7') == 1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,758 |
s068870593 | p04043 | u757117214 | 1578079140 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 80 | s=sorted([int(i) for i in input().split()])
print("YES" if s==[5,5,7] else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,759 |
s175034845 | p04043 | u798557584 | 1578075067 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 99 | n = input().split()
print("YES" if n.count("5") == 2 and n.count("7") == 1 else "NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,760 |
s117767263 | p04043 | u609061751 | 1578043771 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 246 | import sys
input = sys.stdin.readline
A = [int(x) for x in input().split()]
cnt_5 = 0
cnt_7 = 0
for i in A:
if i == 5:
cnt_5 += 1
elif i == 7:
cnt_7 += 1
if cnt_5 == 2 and cnt_7 == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,761 |
s692283243 | p04043 | u992875223 | 1578024106 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 129 | A, B, C = map(int, input().split())
ans = 'NO'
if [A, B, C].count(5) == 2 and [A, B, C].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,762 |
s210466850 | p04043 | u127499732 | 1578008818 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 140 | a = list(map(int,input().split()))
b = a.count(5)
c = a.count(7)
if b == 2 and c ==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,763 |
s278729300 | p04043 | u906077984 | 1578005243 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 122 | list = list(map(int,input().split()))
if list.count(5) == 2 and list.count(7) == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,764 |
s600762396 | p04043 | u000217253 | 1578001347 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 282 | a,b,c=(int(x) for x in input().split())
nana_count=0
go_count=0
def check(x):
if x==5:
global go_count
go_count+=1
elif x==7:
global nana_count
nana_count+=1
check(a)
check(b)
check(c)
if nana_count==1 and go_count==2:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,765 |
s284126178 | p04043 | u748999254 | 1577953789 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 121 | li = list(map(int,input().split()))
if sum(li) != 17 or max(li) != 7 or min(li) != 5:
print("NO")
exit()
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,766 |
s735649991 | p04043 | u684305751 | 1577946723 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 79 | s=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,767 |
s944737963 | p04043 | u444238096 | 1577935537 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 85 | 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,210,768 |
s827228449 | p04043 | u676015657 | 1577919097 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 86 | 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,210,769 |
s228495154 | p04043 | u401949008 | 1577919022 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 84 | a,b,c=map(int,input().split())
if a*b*c==175:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,770 |
s577567055 | p04043 | u318024671 | 1577912158 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 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,210,771 |
s184317641 | p04043 | u614550445 | 1577860228 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 134 |
T = [int(_) for _ in input().split()]
x = sorted(T)
if x[0] == 5 and x[1] == 5 and x[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,772 |
s901784349 | p04043 | u735069283 | 1577854091 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 118 | a,b,c=map(int,input().split())
print('YES' if a+b+c==17 and a*b*c==175 and max(a,b,c)==7 and min(a,b,c)==5 else'NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,773 |
s264072763 | p04043 | u792512290 | 1577848443 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 97 | list = map(int, input().split())
if sorted(list) == [5, 5, 7]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,774 |
s152425387 | p04043 | u241190800 | 1577846473 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 161 | data = [int(i) for i in input().split(" ")]
total = 0
for i in data:
if i==7 or i==5:
total += i
if total == 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,775 |
s267159807 | p04043 | u668352391 | 1577827697 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 172 | a, b, c = map(lambda x: int(x), input().split())
lis = [5, 7, 5]
for _ in [a, b, c]:
if _ in lis:
lis.remove(_)
if len(lis) == 0:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,776 |
s756723873 | p04043 | u668352391 | 1577827423 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 172 | a, b, c = map(lambda x: int(x), input().split())
lis = [5, 7, 5]
for _ in [a, b, c]:
if _ in lis:
lis.remove(_)
if len(lis) == 0:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,777 |
s910680716 | p04043 | u608726540 | 1577825003 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 111 | li=list(map(int,input().split()))
if li.count(5)==2 and li.count(7)==1:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,778 |
s977928684 | p04043 | u530786533 | 1577747241 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 118 | x = [int(i) for i in input().split()]
if (x.count(5) == 2 and x.count(7) == 1):
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,779 |
s749667553 | p04043 | u485566817 | 1577739086 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 101 | s = list(map(int, input().split()))
if sorted(s) == [5, 5, 7]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,780 |
s808319199 | p04043 | u534302832 | 1577731501 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 137 | a = []
a = input().split()
if a == ['7', '5', '5'] or a == ['5', '7', '5'] or 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,781 |
s448771020 | p04043 | u517910772 | 1577727827 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 102 | N = list(map(int, input().split()))
if sorted(N) == [5, 5, 7]:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,782 |
s590906331 | p04043 | u729915102 | 1577687298 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 117 | arr = list(map(int, input().split()))
arr = sorted(arr)
if arr == [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,783 |
s521152027 | p04043 | u729915102 | 1577687286 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 117 | arr = list(map(int, input().split()))
arr = sorted(arr)
if arr == [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,784 |
s381330461 | p04043 | u654085902 | 1577679553 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 111 | 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,785 |
s314391708 | p04043 | u986480146 | 1577583121 | Python | Python (3.4.3) | py | Accepted | 19 | 3316 | 262 | A, B, C = map(int, input().split())
if A + B + C == 17:
if A == 5:
if B + C == 12:
print("YES")
else:
print("NO")
elif A == 7:
if B + C == 10:
print("YES")
else:
print("NO")
else:
print("NO")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,786 |
s716340605 | p04043 | u054412614 | 1577577333 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 206 | a,b,c=map(int,input().split())
if a+b+c==17:
if a==5 and b==5:
print("YES")
elif a==5 and c==5:
print("YES")
elif b==5 and c==5:
print("YES")
else:
print("NO")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,787 |
s670428317 | p04043 | u683134447 | 1577571636 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 109 | al = list(map(int,input().split()))
al = sorted(al)
if al == [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,788 |
s072284144 | p04043 | u923657126 | 1577456846 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 120 | abc = list(map(int,input().split()))
if (5 in abc) & (7 in abc) & (sum(abc)==17):
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,789 |
s874810575 | p04043 | u847901871 | 1577425505 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 134 | x, y, z = map(int, input().split())
total = x + y + z
total = total - 7
if total % 10 == 0:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,790 |
s307646367 | p04043 | u426572476 | 1577413803 | Python | Python (3.4.3) | py | Accepted | 35 | 5088 | 147 | import math
import fractions
l = [int(i) for i in input().split()]
if l.count(5) == 2 and l.count(7) == 1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,791 |
s589291908 | p04043 | u581187895 | 1577413508 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 139 | from collections import Counter
ans = "NO"
A = Counter(input().split())
if A["5"] == 2:
if A["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,792 |
s719560362 | p04043 | u942868002 | 1577377261 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 81 | n = input().split()
print("YES" if n.count("5")==2 and n.count("7")==1 else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,793 |
s945231568 | p04043 | u652569315 | 1577370422 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 105 | l=sorted(list(map(int,input().split())))
if l[2]==7 and l[1]==l[0]==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,794 |
s184180550 | p04043 | u861141787 | 1577353798 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 111 | S = list(map(int, input().split()))
S.sort()
A = [5, 5, 7]
if S == A:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,795 |
s160296104 | p04043 | u714378447 | 1577326006 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 95 | 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,796 |
s111210753 | p04043 | u374146618 | 1577322850 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 102 | T = [int(x) for x in input().split()]
T.sort()
if T==[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,797 |
s683988388 | p04043 | u374146618 | 1577322498 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 126 | T = [int(x) for x in input().split()]
Ts = sorted(T)
if Ts.count(5)==2 and Ts.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,798 |
s228829996 | p04043 | u810457760 | 1577309660 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 111 | 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,799 |
s525818895 | p04043 | u187058053 | 1577304482 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 124 | data = list(map(str, input().split()))
if data.count("5")==2 and data.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,800 |
s061081600 | p04043 | u027675217 | 1577292482 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 111 | 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,801 |
s124232666 | p04043 | u327532412 | 1577291039 | 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,802 |
s438294238 | p04043 | u843612833 | 1577279722 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 135 | lst = list(map(int, input().split()))
lst.sort()
if lst[0] == 5 and lst[1] == 5 and lst[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,803 |
s491268983 | p04043 | u029935728 | 1577264877 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 128 | A,B,C = input().split()
A=int(A)
B=int(B)
C=int(C)
num=[A,B,C]
num.sort()
if 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,804 |
s826855897 | p04043 | u720417458 | 1577251539 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 106 | a, b ,c = map(int,input().split())
if sorted((a,b,c)) == [5, 5, 7]:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,805 |
s870846552 | p04043 | u720417458 | 1577251489 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 106 | a, b ,c = map(int,input().split())
if sorted((a,b,c)) == [5, 5, 7]:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,806 |
s877335597 | p04043 | u325282913 | 1577247997 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 125 | 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,807 |
s421096731 | p04043 | u846652026 | 1577226679 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 93 | 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,808 |
s578762470 | p04043 | u846652026 | 1577226613 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 117 | s = list(map(int, input().split()))
print('YES' if sum(ss==5 for ss in s)==2 and sum(ss==7 for ss in s)==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,809 |
s897971826 | p04043 | u771577506 | 1577226448 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 91 | x = str(input())
if x.count("5")==2 and x.count("7")==1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,810 |
s559144421 | p04043 | u170410075 | 1577222159 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 145 | A,B,C = map(int,input().split())
if A==1 or B==1 or C==1:
print('NO')
MLT = A*B*C
if MLT == 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,811 |
s621025839 | p04043 | u150423122 | 1577211796 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 82 | k = list(map(int, input().split()))
k.sort()
print("YES"if k == [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,812 |
s199776397 | p04043 | u355137116 | 1577205835 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 152 | a, b, c = map(int, input().split())
if (b == c == 5 and a == 7 or a == c == 5 and b == 7 or a == b == 5 and c == 7):
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,813 |
s903657686 | p04043 | u602863587 | 1577168510 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 88 | 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,210,814 |
s735924672 | p04043 | u470542271 | 1577158420 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 103 | x = list(map(int, input().split()))
x.sort()
if x == [5, 5, 7]:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,815 |
s250190637 | p04043 | u560301743 | 1577154761 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 108 | values = sorted(int(v) for v in input().split())
if values == [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,816 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.