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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s318757409 | p04043 | u908349502 | 1568430522 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 103 | a=list(map(int,input().split()))
if a.count(5)==2 and a.count(7)==1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,217 |
s103141770 | p04043 | u536177854 | 1568425621 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 121 | l=list(map(int,input().split()))
l.sort()
if l[0]==5 and l[1]==5 and l[2]==7:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,218 |
s133974849 | p04043 | u503755120 | 1568406234 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 631 | def f(data):
for i in range(3):
if 0 > int(data[i]) or int(data[i]) > 10:
print ("NO")
if int(data[0]) == 5:
if int(data[1])== 5:
if int(data[2]) == 7:
print ("YES")
else:
print("NO")
elif int(data[1]) == 7:
if int(data[2]) == 5:
print ("YES")
... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,219 |
s832644685 | p04043 | u760767494 | 1568380952 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 110 | l=list(map(int,input().split()))
l.sort()
if l[0]==5 and l[1]==5 and l[2]==7:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,220 |
s804837772 | p04043 | u252828980 | 1568342407 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 73 | a,b,c = map(int,input().split())
print("YES" if a*b*c == 5*5*7 else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,221 |
s021768671 | p04043 | u790710233 | 1568256805 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 98 | 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,211,222 |
s440281493 | p04043 | u970082363 | 1568232831 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 163 | a,b,c = (int(x) for x in input().split())
if (a==5 and b==5 and c==7)or(a==5 and b==7 and c==5)or(a==7 and b==5 and c==5):
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,223 |
s459205167 | p04043 | u787456042 | 1568228391 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 57 | print("YNEOS"[["5","5","7"]!=sorted(input().split())::2]) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,224 |
s430744999 | p04043 | u759412327 | 1568228310 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 50 | print(["YES","NO"][input().split().count("5")==1]) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,225 |
s730325888 | p04043 | u502304480 | 1568220573 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 111 | abc = list(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,211,226 |
s475343599 | p04043 | u723590269 | 1568219703 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 135 | a,b,c=map(int,input().split())
s = str(a)+str(b)+str(c)
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,211,227 |
s348778688 | p04043 | u214122599 | 1568215053 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 107 | word = list(map(int, input().split()))
word.sort()
if word == [5, 5, 7]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,228 |
s506348076 | p04043 | u304251553 | 1568205262 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 117 | #coding: utf-8
num = list(map(int, input().split()))
if (num.count(5)) == 2:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,229 |
s399638267 | p04043 | u008357982 | 1568203236 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 71 | n=input().split();print('YNEOS'[n.count('5')!=2 or n.count('7')!=1::2]) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,230 |
s152705759 | p04043 | u008357982 | 1568202854 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 73 | a,b,c=sorted(input().split());print('YNEOS'[a!='5'or b!='5'or c!='7'::2]) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,231 |
s201850166 | p04043 | u907651072 | 1568164505 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 70 | a,b,c = map(int,input().split())
print('YES' if (a+b+c)==17 else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,232 |
s048718093 | p04043 | u469254913 | 1568153080 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 130 | abcSet = list(map(int,input().split()))
abcSet.sort()
test = [5,5,7]
if abcSet == test:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,233 |
s705853511 | p04043 | u396495667 | 1568139612 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 70 | a,b,c = map(int,input().split())
print('YES' if (a+b+c)==17 else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,234 |
s033538970 | p04043 | u055687574 | 1568088474 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 197 | mylist = list(input().split())
list_575 = ["5", "7", "5"]
for l in mylist:
if l in list_575:
list_575.remove(l)
else:
print("NO")
if len(list_575) == 0:
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,211,235 |
s165552008 | p04043 | u699699071 | 1568075422 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 181 | A = list(map(int,input().split()))
r5=0
r7=0
for num in A:
if num == 5:
r5+=1
elif num==7:
r7+=1
if r5==2 and r7==1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,236 |
s567781867 | p04043 | u862757671 | 1568065847 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 77 | a = input()
print('YES' if a.count('5') == 2 and a.count('7') == 1 else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,237 |
s627006831 | p04043 | u977349332 | 1568062125 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 95 | abc = [int (x) for x in input().split()]
abc.sort()
print('YES' if abc == [5, 5, 7] else 'NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,238 |
s876876995 | p04043 | u580362735 | 1568047444 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 94 | ABC = list(map(int,input().split()))
[print('YES') if sorted(ABC) == [5,5,7] else print('NO')] | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,239 |
s323260097 | p04043 | u322354465 | 1568038552 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 162 | import collections
s = list(map(int, input().split()))
s_num = collections.Counter(s)
if s_num[5] == 2 and s_num[7] == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,240 |
s943387265 | p04043 | u595716769 | 1568012695 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 125 | a, b, c = map(str, input().split())
s = a+b+c
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,211,241 |
s501123811 | p04043 | u635540732 | 1568007161 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 103 | a=list(map(int,input().split()))
if a.count(5)==2 and a.count(7)==1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,242 |
s221707841 | p04043 | u597455618 | 1568006822 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 140 | s = list(map(int, input().split()))
if (s[0] == s[1] == 7) or (s[0] == s[2] == 7) or (s[2] == s[1] == 7):
print("NO")
else:
print("YES") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,243 |
s143931452 | p04043 | u407016024 | 1567970653 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 128 | A, B, C = map(int, input().split())
X = [A, B, C]
if X.count(5) == 2 and X.count(7) == 1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,244 |
s847359596 | p04043 | u084357428 | 1567952958 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 181 | a = sorted([int(_) for _ in input().split()])
if len(a) == 3 and all(1 <= i <= 10 for i in a):
print('YES' if a[0] == a[1] == 5 and a[2] == 7 else 'NO')
else:
print('hoge!') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,245 |
s404465029 | p04043 | u060455496 | 1567949596 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 56 | print('NYOE S'['557'==''.join(sorted(input()[::2]))::2]) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,246 |
s153315305 | p04043 | u060455496 | 1567949454 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 55 | print('NYOE S'[['5','5','7']==sorted(input()[::2])::2]) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,247 |
s883318263 | p04043 | u060455496 | 1567949295 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 56 | print(['NO','YES'][['5','5','7']==sorted(input()[::2])]) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,248 |
s060474464 | p04043 | u060455496 | 1567949053 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 62 | print(['NO','YES'][[5,5,7]==sorted(map(int,input().split()))]) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,249 |
s311454081 | p04043 | u931489673 | 1567921556 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 115 | s=list(map(int,input().split()))
s=sorted(s)
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,211,250 |
s125964286 | p04043 | u117193815 | 1567921338 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 123 | a,b,c = map(int ,input().split())
l=[a,b,c]
if l.count(5)==2 and l.count(7)==1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,251 |
s097989178 | p04043 | u992759582 | 1567902784 | Python | Python (3.4.3) | py | Accepted | 19 | 3316 | 113 | a = list(map(int,input().split()))
if a.count(5) == 2 and a.count(7) == 1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,252 |
s747561775 | p04043 | u517337550 | 1567902066 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 238 | A,B,C = map(int,input().split(" "))
if A == 7 or B == 7 or C == 7:
if A == 5 or B ==5 or C ==5:
if A+B+C==17:
print("YES")
else:
print("NO")
else:
print("NO")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,253 |
s029552386 | p04043 | u270144704 | 1567874877 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 196 | s=input()
fcount,scount=0,0
list=s.split(' ')
for i in list:
if i=='5':
fcount+=1
elif i=='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,211,254 |
s437011473 | p04043 | u194447264 | 1567873115 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 172 | # -*- coding: utf-8 -*-
"""
Created on Sat Sep 7 12:03:54 2019
@author: ask07
"""
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,211,255 |
s672108065 | p04043 | u194447264 | 1567872005 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 97 | a, b, c = map(int, input().split())
if a * b * c == 5 * 7 * 5:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,256 |
s629340116 | p04043 | u227641731 | 1567832805 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 95 | on = list(map(int, input().split()))
print('YES' if on.count(5)==2 and on.count(7)==1 else'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,257 |
s285102048 | p04043 | u976225138 | 1567830130 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 97 | a, b, c = map(int, input().split())
if a * b * c == 5 * 7 * 5:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,258 |
s018663510 | p04043 | u592248346 | 1567820803 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 115 | a = list(input().split())
a.sort()
if a[0]=='5' and a[1]=='5' and a[2]=='7':
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,259 |
s904798585 | p04043 | u557136512 | 1567793248 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 135 | nums = list(map(int, input().split()))
n5 = nums.count(5)
n7 = nums.count(7)
if n5 == 2 and n7 == 1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,260 |
s511041786 | p04043 | u177411511 | 1567791535 | Python | Python (3.4.3) | py | Accepted | 19 | 2940 | 225 | import sys
stdin = sys.stdin
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline()
li = na()
li.sort()
print('YES' if li[0] == 5 and li[1] == 5 and li[2] == 7 else 'NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,261 |
s297781683 | p04043 | u152638361 | 1567713708 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 92 | a = list(map(int,input().split()))
a.sort()
if a ==[5,5,7]:
print("YES")
else: print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,262 |
s146715082 | p04043 | u692690314 | 1567698548 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 213 | import itertools
A, B, C = map(int, input().split())
l = [A, B, C]
p = itertools.permutations(l)
flag = False
for i in p:
if i == (5, 7, 5):
flag = True
if flag:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,263 |
s152496608 | p04043 | u488127128 | 1567673209 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 73 | l = input()
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,211,264 |
s374844099 | p04043 | u378328623 | 1567617979 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 105 | A, B, C = map(int, input().split())
if sorted([A, B, C]) == [5, 5, 7]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,265 |
s689741562 | p04043 | u539018546 | 1567611267 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 122 | number=list(map(int,input().split()))
if number.count(5)==2 and number.count(7)==1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,266 |
s296724307 | p04043 | u788023488 | 1567563525 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 140 | List = [int(i) for i in input().split()]
List.sort()
ans='NO'
if List[0]==5:
if List[1]==5:
if List[2]==7:
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,211,267 |
s459974847 | p04043 | u396391104 | 1567555926 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 103 | a,b,c = map(int,input().split())
if a+b+c == 17 and a*b*c == 175:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,268 |
s145630165 | p04043 | u872056745 | 1567532827 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 318 | s = input().split()
a = int(s[0])
b = int(s[1])
c = int(s[2])
count_5 = 0
if a == 5:
count_5 += 1
if b == 5:
count_5 += 1
if c == 5:
count_5 += 1
count_7 = 0
if a == 7:
count_7 += 1
if b == 7:
count_7 += 1
if c == 7:
count_7 += 1
if count_5 == 2 and count_7 == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,269 |
s552722137 | p04043 | u513900925 | 1567532301 | 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,211,270 |
s590389781 | p04043 | u600402037 | 1567525001 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 92 | A, B, C = map(int, input().split())
print('YES' if sorted([A, B, C]) == [5, 5, 7] else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,271 |
s505406529 | p04043 | u163791883 | 1567482165 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 100 | li = list(map(int, input().split()))
print('YES' if li.count(5) == 2 and li.count(7) == 1 else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,272 |
s414915144 | p04043 | u866369660 | 1567480800 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 98 | s = [x for x in 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,211,273 |
s244490427 | p04043 | u007698380 | 1567455750 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 98 | a,b,c=map(int,input().split())
if a+b+c==17 and a*b*c==175:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,274 |
s850383566 | p04043 | u405137387 | 1567445164 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 281 | a, b, c = map(int, input().split())
flag1 = False
flag2 = False
flag3 = False
if a == 5 or b == 5 or c == 5:
flag1 = True
if a == 7 or b == 7 or c == 7:
flag2 = True
if a + b + c == 17:
flag3 = True
if flag1 and flag2 and flag3:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,275 |
s012827030 | p04043 | u193604641 | 1567393921 | Python | Python (2.7.6) | py | Accepted | 16 | 2948 | 303 | def main():
core = {5: 2, 7:1}
data = {}
for x in [int(x) for x in raw_input().split(' ')]:
if x not in data:
data[x] = 0
data[x] += 1
for key, val in data.items():
if not (core.get(key, 0) > 0 and core[key] == val):
print("NO")
return
print("YES")
main() | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,276 |
s361277119 | p04043 | u756569003 | 1567302184 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 95 | a, b, c = [int(i) for i in input().split()]
if a*b*c == 175:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,277 |
s233268356 | p04043 | u263226212 | 1567281276 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 144 | # -*- coding: utf-8 -*-
# input
ans = list(map(int, input().split()))
# solve
ans.sort()
# output
print('YES' if ans == [5, 5, 7] else 'NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,278 |
s759873470 | p04043 | u164261323 | 1567280001 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 84 | 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,211,279 |
s531117991 | p04043 | u116002573 | 1567273691 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 238 | def main():
A, B, C = map(int, input().split())
d = dict()
for i in [A, B, C]:
d[i] = d.get(i, 0) + 1
if d[5] == 2 and d[7] == 1:
return "YES"
return "NO"
if __name__ == '__main__':
print(main()) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,280 |
s543740972 | p04043 | u618373524 | 1567262418 | Python | Python (3.4.3) | py | Accepted | 22 | 3316 | 123 | a = list(map(int,input().split()))
b = [x for x in a if x !=" "]
c = sorted(b)
d =[5,5,7]
print("YES" if c == d else "NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,281 |
s643639194 | p04043 | u919025034 | 1567240181 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 150 | # coding: utf-8
# Your code here!
a = list(map(int,input().split()))
if a.count(5) == 2 and a.count(7) == 1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,282 |
s484657083 | p04043 | u288500098 | 1567227411 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 130 | A,B,C = map(int, input().split())
list_num = [A,B,C]
list_num.sort()
if list_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,211,283 |
s388030158 | p04043 | u556371693 | 1567220909 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 119 | a,b,c=map(int,input().split())
if max(a,b,c)==7 and min(a,b,c)==5 and a+b+c==17:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,284 |
s526285013 | p04043 | u280096880 | 1567204615 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 123 | A = list(map(int, input().split()))
if max(A) == 7 and min(A) == 5 and sum(A) == 17:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,285 |
s523153811 | p04043 | u346629192 | 1567187068 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 98 | 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,211,286 |
s067161632 | p04043 | u723612399 | 1567171638 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 321 | # -*- coding: utf-8 -*-
f_count = 2
s_count = 1
haikuflag = False
input_stuck = input().split()
num = [int(input_stuck[0]),int(input_stuck[1]),int(input_stuck[2])]
for i in num:
if i == 5:
f_count-=1
elif i == 7:
s_count-=1
if f_count == 0 and s_count == 0:
print('YES')
else:
print('NO'... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,287 |
s641705280 | p04043 | u090729464 | 1567142780 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 207 | a = sorted(map(int, input().split()))
if a[0] == 5:
if a[1] == 5:
if a[2] == 7:
print("YES")
else:
print("NO")
else:
print("NO")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,288 |
s376385274 | p04043 | u835482198 | 1567138714 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 116 | a, b, c = sorted(map(int, input().split()))
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,211,289 |
s519849988 | p04043 | u187462782 | 1567131342 | 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,211,290 |
s576071146 | p04043 | u726979570 | 1567069812 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 89 | w=str(input())
if w.count("5")==2 and w.count("7")==1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,291 |
s270914010 | p04043 | u720483676 | 1567048345 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 77 | a=input();print("YES")if a.count('7')==1 and a.count('5')==2 else print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,292 |
s320386710 | p04043 | u874303957 | 1567045863 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 97 | ABC = list(map(int, input().split()))
print('YES' if ABC[0] * ABC[1] * ABC[2] == 175 else 'NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,293 |
s547176366 | p04043 | u179285430 | 1567027381 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 102 | I = list(map(int, input().split()))
I.sort()
if I == [5, 5, 7]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,294 |
s896290923 | p04043 | u739959951 | 1567023134 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 113 | l=[int(i) for i in input().split()]
ans='NO'
if l.count(5)==2:
if l.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,211,295 |
s837031282 | p04043 | u670180528 | 1566964196 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 57 | print('YNEOS'[sorted(input().split())!=['5','5','7']::2]) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,296 |
s668901275 | p04043 | u965436898 | 1566944504 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 239 | seven_count = 0
five_count = 0
s = input().split()
for number in s:
if number == "5":
five_count += 1
elif number == "7":
seven_count += 1
if seven_count == 1 and five_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,211,297 |
s333094967 | p04043 | u946644692 | 1566932808 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 170 | num_list = input().split()
five_count = num_list.count("5")
seven_count = num_list.count("7")
if five_count == 2 and seven_count ==1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,298 |
s700439361 | p04043 | u642120132 | 1566931911 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 91 | lst = input().split()
print('YES' if lst.count('5') == 2 and lst.count('7') == 1 else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,299 |
s446676653 | p04043 | u936035004 | 1566926786 | Python | Python (3.4.3) | py | Accepted | 19 | 3060 | 160 | a,b,c = map(int,input().split())
if a==b==5 and c==7:
print("YES")
elif a==c==5 and b==7:
print("YES")
elif b==c==5 and a==7:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,300 |
s092939539 | p04043 | u302292660 | 1566873486 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 86 | 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,211,301 |
s952820184 | p04043 | u053856575 | 1566866471 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 95 | k=input().split()
k.sort()
if k[0]==k[1]=="5" and k[2]=="7":
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,302 |
s814134511 | p04043 | u417958545 | 1566863279 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 96 | a=input().split()
if a.count('5')==2 and a.count('7')==1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,303 |
s669186723 | p04043 | u119655368 | 1566819008 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 96 | a,b,c = sorted(map(int,input().split()))
print("YES" if a == b and a == 5 and c == 7 else "NO" ) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,304 |
s911918281 | p04043 | u756696693 | 1566769917 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 103 | A=list(map(int,input().split()))
A.sort()
if A == [5,5,7]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,305 |
s286778246 | p04043 | u430414424 | 1566748934 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 125 | s = sorted(list(map(int, input().split())))
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,211,306 |
s303773387 | p04043 | u311900413 | 1566748744 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 96 | a=input().split()
if a.count('5')==2 and a.count('7')==1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,307 |
s015622434 | p04043 | u802963389 | 1566707773 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 115 | n = list(map(int, input().split()))
n.sort()
if n[0] == n[1] == 5 and n[2] == 7:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,308 |
s730116395 | p04043 | u243572357 | 1566701435 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 85 | 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,211,309 |
s353367402 | p04043 | u759412327 | 1566700643 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 93 | 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,211,310 |
s015372961 | p04043 | u957872856 | 1566681227 | 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,211,311 |
s460722610 | p04043 | u045408189 | 1566673500 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 79 | n=input().split()
print('YES' if n.count('7')==1 and n.count('5')==2 else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,312 |
s866476489 | p04043 | u488636998 | 1566664787 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 218 | str = input()
int_list = str.split(' ')
int_list = [int(x) for x in int_list]
five_count = int_list.count(5)
seven_count = int_list.count(7)
if five_count==2 and seven_count==1:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,313 |
s108659595 | p04043 | u645855527 | 1566656022 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 93 | values = sorted(map(int, input().split()))
print('YES') if values == [5,5,7] else print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,314 |
s711422587 | p04043 | u395202850 | 1566655234 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 98 | aList = list(map(int, input().split()))
aList.sort()
print("YES" if aList == [5, 5, 7] else "NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,315 |
s524291380 | p04043 | u688375653 | 1566612747 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 161 | A,B,C=map(int,input().split())
hoge=set([A,B,C])
if hoge==set([5,7]):
if A+B+C==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,211,316 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.