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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s451261754 | p04043 | u363610900 | 1551818174 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 111 | A, B, C = input().split(' ')
num_list = sorted([A, B, C])
print('YES' if num_list == ['5', '5', '7'] else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,917 |
s612806659 | p04043 | u529909658 | 1551770469 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 208 | a,b,c = input().split(' ')
five = 0
seven = 0
for n in [a,b,c]:
if n == '5':
five += 1
elif n == '7':
seven += 1
if five == 2 and seven == 1:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,918 |
s319082539 | p04043 | u864667985 | 1551718082 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 100 | lst = sorted(list(map(int, input().split())))
if lst == [5,5,7]:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,919 |
s318453102 | p04043 | u251123951 | 1551631718 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 106 | a=list(map(int,input().split()))
print("YES") if 5 in a and 7 in a and a[0]+a[1]+a[2]==17 else print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,920 |
s819668306 | p04043 | u957872856 | 1551625948 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 202 | a = list(map(int, input().split()))
d = 0
e = 0
for i in range(3):
f = a[i]
if f == 7:
d += 1
elif f == 5:
e += 1
else:
break
if d == 1 and e == 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,921 |
s402323048 | p04043 | u588633699 | 1551592655 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 123 | X = input().split()
five = X.count('5')
seven = X.count('7')
if five==2 and seven==1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,922 |
s964765694 | p04043 | u174394352 | 1551592268 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 86 | if sorted(list(map(int,input().split())))==[5,5,7]:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,923 |
s517429176 | p04043 | u994767958 | 1551588373 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 117 | l = [0]*11
r = list(map(int,input().split()))
for i in r:
l[i] += 1
print("YES" if (l[5]==2)and(l[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,924 |
s696858166 | p04043 | u566574814 | 1551573841 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 211 | a, b, c = map(int, input().split())
if a == 5 and b == 5 and c == 7:
print('YES')
elif a == 7 and b == 5 and c == 5:
print('YES')
elif a == 5 and b == 7 and c == 5:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,925 |
s796890177 | p04043 | u619197965 | 1551564783 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 90 | a,b,c=[int(i) for i in 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,926 |
s527141237 | p04043 | u155236040 | 1551407751 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 154 | import collections
abc = [int(i) for i in input().split()]
c = collections.Counter(abc)
if c[5] == 2 and c[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,927 |
s474897699 | p04043 | u301302814 | 1551397821 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 136 | # coding: utf-8
n = sorted(list(map(int, input().split())))
if n[0] == 5 and 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,928 |
s625239348 | p04043 | u370331385 | 1551388558 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 141 | a = input().split()
for i in range(3):
a[i] = int(a[i])
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,929 |
s533106528 | p04043 | u631277801 | 1551331786 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 128 | abc = list(map(int, input().split()))
abc.sort()
a,b,c = abc
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,930 |
s555549849 | p04043 | u403984573 | 1551300425 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 103 | M=list(map(int,input().split()))
if M.count(5)==2 and M.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,931 |
s134341927 | p04043 | u698460655 | 1551240254 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 174 | abc = map(int, input().split())
data = [0,0]
for i in abc:
if i == 5:
data[0] += 1
elif i == 7:
data[1] += 1
if data == [2,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,932 |
s581887585 | p04043 | u488178971 | 1551145538 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 193 | # ABC 042 A - 和風いろはちゃんイージー / Iroha and Haiku (ABC Edition)
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,933 |
s109003896 | p04043 | u143492911 | 1551127572 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 209 | A=list(map(int,input().split()))
five_cnt=0
seven_cnt=0
for a in A:
if a==5:
five_cnt+=1
elif a==7:
seven_cnt+=1
if five_cnt==2 and seven_cnt==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,934 |
s886871633 | p04043 | u275934251 | 1551034639 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 95 | a=list(map(int,input().split()))
a.sort()
print("YES" if (a[0]==a[1]==5 and a[2]==7) else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,935 |
s464810135 | p04043 | u887207211 | 1550982490 | Python | Python (3.4.3) | py | Accepted | 18 | 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,211,936 |
s552168978 | p04043 | u393512980 | 1550981243 | Python | Python (3.4.3) | py | Accepted | 19 | 2940 | 190 | lst = list(map(int, input().split()))
c5 = c7 = 0
for x in lst:
if x == 5:
c5 += 1
elif x == 7:
c7 += 1
if c5 == 2 and c7 == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,937 |
s692027889 | p04043 | u449555432 | 1550977425 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 67 | a,b,c=map(int,input().split());print('YES' if a*b*c==175 else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,938 |
s831447937 | p04043 | u987170100 | 1550897350 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 138 | lst = sorted([int(x) for x in input().split()])
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,211,939 |
s386095533 | p04043 | u722535636 | 1550860740 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 105 | 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,940 |
s082853079 | p04043 | u717001163 | 1550851538 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 66 | a,b,c=map(int,input().split())
print("YES" if a+b+c==17 else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,941 |
s568085958 | p04043 | u186838327 | 1550744114 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 110 | l = list(map(int, input().split()))
if l.count(5) == 2 and l.count(7) == 1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,942 |
s107865102 | p04043 | u326294217 | 1550737199 | Python | Python (3.4.3) | py | Accepted | 19 | 3188 | 282 | import fileinput
def main(arg_list):
if(len(arg_list) == 3 and arg_list.count('5')==2 and arg_list.count('7') == 1):
print("YES")
return
print("NO")
if __name__ == "__main__":
for line in fileinput.input():
main(line.rstrip("\n\r").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,943 |
s493623872 | p04043 | u143509139 | 1550699835 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 99 | l = list(map(int, input().split()))
l.sort()
ans = 'NO'
if l == [5, 5, 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,944 |
s183764298 | p04043 | u007550226 | 1550685015 | Python | Python (3.4.3) | py | Accepted | 20 | 3060 | 92 | if sorted(list(map(int,input().split()))) == [5,5,7]:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,945 |
s774923168 | p04043 | u543954314 | 1550679646 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 81 | if sorted(input().split()) == ["5", "5", "7"]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,946 |
s783686331 | p04043 | u282228874 | 1550678858 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 95 | 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,947 |
s190406897 | p04043 | u516272298 | 1550641225 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 121 | a = sorted(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,948 |
s826883126 | p04043 | u296783581 | 1550463808 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 150 | a = list(map(int, input().split()))
n = sum(x == 7 for x in a)
k = sum(x == 5 for x in a)
if n == 1 and k == 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,949 |
s419255346 | p04043 | u952130512 | 1550442369 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 208 | s=input().split()
count=0
for n in range(3):
if s[n]=="5":
count+=1
elif s[n]=="7":
continue
else:
count=3
break
if 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,950 |
s585654651 | p04043 | u071730284 | 1550435713 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 224 | A, B, C = [int(i) for i in input().split()]
five = 0
seven = 0
for x in [A, B, C]:
if x == 5:
five += 1
elif x == 7:
seven += 1
ans = five == 2 and seven == 1
print("YES" if ans else "NO")
print()
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,951 |
s037040829 | p04043 | u582396808 | 1550426552 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 202 | phase = input().rstrip().split(" ")
count5 = count7 = 0
for i in phase:
if i == "5":
count5 += 1
elif i == "7":
count7 += 1
if count5 == 2 and count7 == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,952 |
s007190404 | p04043 | u604412462 | 1550352539 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 266 | s = input().split() #s_1 s_2を分割して取得し、sに値を入れる
five = 0
seven = 0
for i in range(3):
if s[i] == '5':
five += 1
if s[i] == '7':
seven += 1
if five == 2 and seven == 1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,953 |
s205048201 | p04043 | u503228842 | 1550342301 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 157 | #wlist = list(map(int,input().split()))
nlist = list(input().split())
if nlist.count("5") ==2 and nlist.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,954 |
s844279064 | p04043 | u030626972 | 1550302897 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 253 | #listに[a,b,c]形式で入力取得
box = list(map(int, input().split()))
#listの5と7の数をサーチする
#5が2個、7が2個ならYESを出力。違うならNO
if box.count(5) == 2 and box.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,955 |
s708822500 | p04043 | u518064858 | 1550265097 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 110 | a,b,c=input().split()
d=a+b+c
if d.count("7")==1 and d.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,956 |
s957870478 | p04043 | u777028980 | 1550170701 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 118 | hoge=list(map(str,input().split()))
if(hoge.count("5")==2 and hoge.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,957 |
s062515410 | p04043 | u656995812 | 1550136401 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 114 | 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,958 |
s109469266 | p04043 | u337851472 | 1550012174 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 102 | li = [int(i) for i in input().split()]
print("YES" if li.count(7) == 1 and li.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,959 |
s520615478 | p04043 | u891217808 | 1549976269 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 90 | a = input()
if a.count("7") == 1 and a.count("5") == 2:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,960 |
s505235843 | p04043 | u570018655 | 1549875398 | Python | Python (3.4.3) | py | Accepted | 19 | 2940 | 117 | abc = list(map(int, input().split()))
abc.sort()
if [5, 5, 7] == abc:
ans = "YES"
else:
ans = "NO"
print(ans) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,961 |
s416528793 | p04043 | u118211443 | 1549830715 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 100 | a = sorted(list(map(int, input().split())))
print("YES"if a[0]==5 and a[1]==5 and a[2]==7 else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,962 |
s013439801 | p04043 | u859897687 | 1549812757 | Python | Python (3.4.3) | py | Accepted | 19 | 3060 | 176 | a,b,c=map(int,input().split())
l={5:0,7:0}
l[a]=1
if not b in l:
l[b]=0
l[b]+=1
if not c in l:
l[c]=0
l[c]+=1
if l[5]==2 and l[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,963 |
s010140736 | p04043 | u500297289 | 1549792576 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 127 | """ AtCoder """
l = list(input().split())
if l.count('5') == 2 and l.count('7') == 1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,964 |
s682245611 | p04043 | u796942881 | 1549745427 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 106 | ABC = [int(i) for i in input().split()]
print("YES" if ABC.count(5) == 2 and ABC.count(7) == 1 else "NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,965 |
s727877608 | p04043 | u367130284 | 1549739033 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 146 | A=map(int,input().split())
r=0
o=0
for s in A:
if s==5:
r+=1
if s==7:
o+=1
print("YES") if r==2 and o==1 else print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,966 |
s461053066 | p04043 | u492030100 | 1549638959 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 129 | ans = [5, 5, 7]
haiku = [int(i) for i in input().split()]
haiku.sort()
if ans == haiku:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,967 |
s775249013 | p04043 | u454557108 | 1549606876 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 217 | li = list(map(int,input().split()))
count5 = 0
count7 = 0
for number in li :
if number == 5 :
count5 += 1
elif number == 7:
count7 += 1
if count5 == 2 and count7 == 1 :
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,968 |
s074424043 | p04043 | u262869085 | 1549508662 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 122 | l =[int(i)for i in input().split()]
n5 =l.count(5)
n7 =l.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,969 |
s965721357 | p04043 | u610232844 | 1549502457 | Python | Python (3.4.3) | py | Accepted | 19 | 3064 | 434 | A, B, C = map(int,input().split())
if A == 5:
if B == 7:
if C == 5:
print('YES')
else:
print('NO')
elif B == 5:
if C == 7:
print('YES')
else:
print('NO')
else:
print('NO')
elif A == 7:
if B == 5:
if C == 5:
... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,970 |
s063220519 | p04043 | u921826483 | 1549406684 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 168 | a = map(int,input().split())
b = 0
c = 0
d = "NO"
for i in a:
if i == 5:
b += 1
elif i == 7:
c += 1
if b == 2 and c == 1:
d = "YES"
print(d) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,971 |
s030402927 | p04043 | u951601135 | 1549404627 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 91 | l=list(map(int,input().split()))
print('YES' if(l.count(5)==2 and l.count(7)==1) else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,972 |
s894985660 | p04043 | u689562091 | 1549311626 | Python | Python (3.4.3) | py | Accepted | 24 | 3316 | 164 | from collections import Counter
m = map(int, input().split())
cm = Counter(m)
if len(cm) == 2 and cm[5] == 2 and cm[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,973 |
s964838486 | p04043 | u676407796 | 1549175830 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 313 | a, b, c = map(int, input().split())
if(a==7):
if(b==5 and c==5):
print('YES')
else:
print('NO')
elif(b==7):
if(a==5 and c==5):
print('YES')
else:
print('NO')
elif(c==7):
if(b==5 and a==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,211,974 |
s540662402 | p04043 | u190086340 | 1549143081 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 167 | ABC = list(map(int, input().split()))
def solve():
if ABC.count(5) == 2 and ABC.count(7) == 1:
return "YES"
else:
return "NO"
print(solve())
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,975 |
s155492575 | p04043 | u977389981 | 1549040990 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 86 | A = sorted([int(i) for i in input().split()])
print('YES' if A == [5, 5, 7] else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,976 |
s319424880 | p04043 | u185896732 | 1548973888 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 172 | a,b,c=map(int,input().split())
if a==5 or a==7 and b==5 or b==7 and b==5 or b==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,977 |
s574641003 | p04043 | u316386814 | 1548936129 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 102 | li = list(map(int, input().split()))
li.sort()
ans = 'YES' if li == [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,211,978 |
s308797824 | p04043 | u676707608 | 1548929264 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 87 |
a=list([int(i) for i in input().split()])
print('YES' if sorted(a)==[5,5,7] else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,979 |
s552017801 | p04043 | u950708010 | 1548778395 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 116 | a = list(int(i) for i in input().split())
a.sort()
query = [5,5,7]
if a != query:
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,980 |
s741972295 | p04043 | u728498511 | 1548730174 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 97 | s = input()
if s == "7 5 5" or s == "5 7 5" or 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,981 |
s375013403 | p04043 | u690536347 | 1548694556 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 106 | l=sorted(map(int,input().split()))
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,982 |
s936381324 | p04043 | u483645888 | 1548693902 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 203 | A, B, C = map(int, input().split())
flag = 0
if A+B+C == 17:
if abs(A-B) == 0 and C == 7:
flag = 1
elif abs(A-B) == 2 and C == 5:
flag = 1
if flag == 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,983 |
s921009465 | p04043 | u223133214 | 1548626985 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 125 | nums = list(map(int,input().split()))
if sum(nums) == 17 and 5 in nums and 7 in nums:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,984 |
s026167539 | p04043 | u172873334 | 1548469891 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 106 | a,b,c=map(int,input().split())
li=[a,b,c]
li.sort()
if li==[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,985 |
s945346858 | p04043 | u312913211 | 1548464676 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 202 | inpstr = input()
inp = inpstr.split(" ")
inp = list(map(int,inp))
c5 = 0
c7 = 0
for i in inp:
if i==5:
c5 += 1
elif i==7:
c7 += 1
if c5 == 2 and c7 == 1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,986 |
s964404177 | p04043 | u281303342 | 1548213923 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 92 | X = list(map(int,input().split()))
print("YES" if X.count(5)==2 and X.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,987 |
s165598058 | p04043 | u529518602 | 1548089038 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 220 | inpt = input().split()
inpt.sort()
if inpt[0] == '5':
if inpt[1] == '5':
if inpt[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,988 |
s925882208 | p04043 | u076503518 | 1547947452 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 117 | data = list(map(int, input().split()))
data.sort()
print('YES' if data[0] == data[1] == 5 and data[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,989 |
s152136306 | p04043 | u695857481 | 1547944655 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 100 | l = list(map(int, input().split()))
l.sort()
if (l == [5, 5, 7]):
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,990 |
s028583532 | p04043 | u882209234 | 1547937071 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 209 | abc = list(map(int, input().split()))
lengths = [0,0]
for i in abc:
if i == 5: lengths[0] += 1
if i == 7: lengths[1] += 1
if lengths[0] == 2 and lengths[1] == 1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,991 |
s076138717 | p04043 | u375616706 | 1547916875 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 133 | l = (list)(map(int, input().split()))
l = sorted(l)
ans = 'NO'
if l[0] == 5 and l[1] == 5 and l[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,992 |
s244906517 | p04043 | u983918956 | 1547827525 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 101 | s = [int(e) for e in input().split()]
if [5,5,7] == sorted(s):
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,993 |
s861587608 | p04043 | u731368968 | 1547715110 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 78 | a=sorted(list(map(int, input().split())))
print('YES' if a==[5,5,7] else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,994 |
s436213660 | p04043 | u811156202 | 1547690395 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 123 | input_list = sorted(map(int, input().rstrip().split()))
if input_list == [5, 5, 7]:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,995 |
s692252669 | p04043 | u445624660 | 1547669814 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 79 | print("YES" if sorted(list(map(int, input().split()))) == [5, 5, 7] else "NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,996 |
s791672062 | p04043 | u811156202 | 1547621409 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 281 | haiku_list = ['5', '7', '5']
str_input_list = input().rstrip().split(' ')
for a in range(3):
if haiku_list[a] in str_input_list:
str_input_list.remove(haiku_list[a])
haiku_list[a] = '*'
if haiku_list == ['*', '*', '*']:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,997 |
s715632738 | p04043 | u171366497 | 1547511187 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 114 | x = input().split()
five = x.count('5')
seven = x.count('7')
if five==2 and seven==1:print('YES')
else:print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,998 |
s497586380 | p04043 | u033524082 | 1547479701 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 213 | a,b,c=map(int,input().split())
list=[]
ans=0
list.append(a)
list.append(b)
list.append(c)
for i in range(3):
if list[i]==5:
ans+=1
elif list[i]==7:
ans+=10
print("YES" if ans==12 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,999 |
s789229936 | p04043 | u619819312 | 1547477545 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 75 | n=list(map(int,input().split()))
n.sort()
print("YES"if n==[5,5,7]else"NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,000 |
s700218022 | p04043 | u231647664 | 1547325690 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 88 | 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,212,001 |
s548225838 | p04043 | u052332717 | 1547320497 | Python | Python (3.4.3) | py | Accepted | 18 | 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,212,002 |
s218287305 | p04043 | u762682474 | 1546952400 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 139 | def execute(s):
return ['NO', 'YES'][s.count('5') == 2 and s.count('7') == 1]
if __name__ == '__main__':
print(execute(input()))
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,003 |
s901707906 | p04043 | u272557899 | 1546719979 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 159 | a, b, c = map(int, input().split())
if (a == b == 5 and c == 7) or (a == c == 5 and b == 7) or (c == b == 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,212,004 |
s414650722 | p04043 | u658978681 | 1546668064 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 120 | fsf = input().split()
f = fsf.count("5")
s = fsf.count("7")
if f == 2 and s == 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,212,005 |
s118061972 | p04043 | u785578220 | 1546489217 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 123 | x=list(map(int, input().split()))
x.sort()
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,212,006 |
s740249159 | p04043 | u813916554 | 1546487498 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 166 | a,b,c=input().split()
a=int(a)
b=int(b)
c=int(c)
if a==5 and b==5 and c==7 or a==7 and b==5 and c==5 or a==5 and b==7 and c==5:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,007 |
s854073370 | p04043 | u216631280 | 1546482265 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 118 | li = list(map(int, input().split()))
li.sort()
if li[0] == li[1] == 5 and li[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,212,008 |
s170606226 | p04043 | u597374218 | 1546475227 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 79 | 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,212,009 |
s020458998 | p04043 | u066455063 | 1546456650 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 116 | A = list(map(int, input().split()))
if A.count(5) == 2 and A.count(7) == 1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,010 |
s181498789 | p04043 | u066455063 | 1546398902 | Python | Python (3.4.3) | py | Accepted | 22 | 3316 | 115 | A = list(map(int, input().split()))
if A.count(5) == 2 and A.count(7) == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,011 |
s386660560 | p04043 | u281303342 | 1546365238 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 99 | ABC = list(map(int,input().split()))
print("YES" if ABC.count(5)==2 and ABC.count(7)==1 else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,012 |
s077737715 | p04043 | u892796322 | 1546313198 | Python | Python (3.4.3) | py | Accepted | 21 | 3060 | 114 | 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,212,013 |
s576293918 | p04043 | u071061942 | 1546304320 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 90 | l = input()
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,212,014 |
s154648195 | p04043 | u089032001 | 1546299329 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 98 | A = list(map(int, input().split()))
print("YES" if A.count(5) == 2 and A.count(7) == 1 else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,015 |
s626632854 | p04043 | u586478468 | 1546275736 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 104 | 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,212,016 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.