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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s338158267 | p04043 | u396553339 | 1570425932 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 129 | S = list(map(int, input().split()))
S.sort()
if S[0] == 5 and S[1] == 5 and S[2] == 7 :
print('YES')
else :
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,117 |
s655539927 | p04043 | u448655578 | 1570425266 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 119 | haiku = [5,5,7]
a = list(map(int, input().split(" ")))
a = sorted(a)
if haiku == a:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,118 |
s132457560 | p04043 | u437638594 | 1570410803 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 107 | a, b, c = sorted(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,119 |
s128778205 | p04043 | u606878291 | 1570372981 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 265 | def check_a(numbers):
if numbers.count(5) == 2 and numbers.count(7) == 1:
return 'YES'
else:
return 'NO'
def main():
numbers = list(map(int, input().split()))
print(check_a(numbers=numbers))
if __name__ == '__main__':
main()
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,120 |
s820910607 | p04043 | u234631479 | 1570367225 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 164 | L = list(map(int, input().split()))
L.sort()
for i in range(2):
if not L[i] == 5:
print("NO")
exit()
if not L[2] == 7:
print("NO")
exit()
print("YES") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,121 |
s304965586 | p04043 | u674064321 | 1570303961 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 110 | p = list(map(int, input().split()))
if p.count(7) == 1 and p.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,122 |
s924966982 | p04043 | u901180556 | 1570285633 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 118 | A, B, C = 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,123 |
s170464636 | p04043 | u615817983 | 1570275305 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 81 | if sorted(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,124 |
s599213537 | p04043 | u517099533 | 1570238599 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 131 | a, b, c=list(map(str, input().split()))
if(a+b+c=='557')or(a+b+c=='575')or(a+b+c=='755'):
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,125 |
s586882177 | p04043 | u403986473 | 1570234149 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 152 | a = list(map(int, input().split()))
i = 0
if a.count(5) == 2:
if a.count(7) == 1:
print('YES')
i = i + 1
if i == 0:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,126 |
s426956913 | p04043 | u287431190 | 1570219560 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 96 | a= input()
if a.count('5') == 2:
if a.count('7') == 1:
print('YES')
exit()
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,127 |
s174831771 | p04043 | u403986473 | 1570170472 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 458 | a, b, c = map(int, input().split())
res = 'NO'
if a == 5:
if b==5:
if c==7:
res = 'YES'
if b==7:
if c==5:
res = 'YES'
if b == 5:
if a==5:
if c==7:
res = 'YES'
if a==7:
if c==5:
res = 'YES'
if c == 5:
if a==5:
if ... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,128 |
s127336654 | p04043 | u403986473 | 1570170383 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 457 | a, b, c = map(int, input().split())
res = 'NO'
if a == 5:
if b==5:
if c==7:
res = 'YES'
if b==7:
if c==5:
res = 'YES'
if b == 5:
if a==5:
if c==7:
res = 'YES'
if a==7:
if c==5:
res = 'YES'
if c == 5:
if a==5:
if ... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,129 |
s543263430 | p04043 | u079672271 | 1570154374 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 159 | line = list(map(int, input().split()))
count_5 = line.count(5)
count_7 = line.count(7)
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,130 |
s058097465 | p04043 | u268623418 | 1570148032 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 241 | num5 = 0
num7 = 0
for num in map(int, input().split()):
if num == 5:
num5 += 1
elif num == 7:
num7 += 1
else:
print('NO')
exit()
if num5 == 2 and num7 == 1:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,131 |
s451682342 | p04043 | u489155878 | 1570125420 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 204 | A,B,C=map(int, input().split())
x=0
y=0
if A==5:
x+=1
if B==5:
x+=1
if C==5:
x+=1
if A==7:
y+=1
if B==7:
y+=1
if C==7:
y+=1
if x==2 and y==1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,132 |
s861892712 | p04043 | u945181840 | 1570120785 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 146 | Haiku = list(map(int, input().split()))
Haiku.sort()
if Haiku[0] == 5 and Haiku[1] == 5 and Haiku[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,133 |
s184570389 | p04043 | u291766461 | 1570115363 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 182 | from collections import Counter
A, B, C = tuple(map(int, input().split()))
counter = Counter([A, B, C])
if counter[5] == 2 and counter[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,134 |
s223855753 | p04043 | u674064321 | 1570075930 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 119 | List=[int(i) for i in input().split()]
if List.count(5) == 2 and List.count(7) == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,135 |
s804171877 | p04043 | u089376182 | 1570024456 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 97 | abc = input().replace(' ', '')
print('YES' if abc.count('7')==1 and abc.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,136 |
s400906029 | p04043 | u175590965 | 1569898592 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 99 | 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,137 |
s293467199 | p04043 | u508934152 | 1569898034 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 206 | data = input().split()
flag1 = 0
flag2 = 0
for i in range(3):
if data[i] == '5':
flag1 += 1
elif data[i] == '7':
flag2 += 1
if flag1 == 2 and flag2 == 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,138 |
s743888684 | p04043 | u873059840 | 1569866796 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 164 | a, b, c= map(int,input().split())
list = [a,b,c]
if(7 in list):
if list.count(5)==2:
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,139 |
s107009560 | p04043 | u662449766 | 1569846820 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 170 | import sys
input = sys.stdin.readline
def main():
print("YES" if sorted(map(int, input().split())) == [5, 5, 7] else "NO")
if __name__ == "__main__":
main()
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,140 |
s438801123 | p04043 | u385244248 | 1569827462 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 116 | ABC = sorted(list(map(int, input().split())))
ABC2 = [5,5,7]
if ABC == ABC2:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,141 |
s737615386 | p04043 | u824326335 | 1569824980 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 75 | print("YES" if [5,5,7] == sorted(list(map(int,input().split()))) else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,142 |
s570751793 | p04043 | u396890425 | 1569778819 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 73 | a=list(map(int, input().split()))
print('YES' if 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,143 |
s115568647 | p04043 | u115188504 | 1569771418 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 192 | x,y,z = map(int,input().split())
if x==5 and y==5 and z==7 :
print('YES')
elif x==5 and y==7 and z==5:
print('YES')
elif x==7 and y==5 and z==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,144 |
s758132551 | p04043 | u681917640 | 1569730392 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 192 | ABC = list(map(int, input().split()))
five = 0
seve = 0
for i in ABC:
if i == 5:
five += 1
if i == 7:
seve += 1
if five == 2 and seve == 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,145 |
s900065218 | p04043 | u388904130 | 1569723017 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 118 | array = input().split()
if int(array[0]) + int(array[1]) + int(array[2]) == 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,146 |
s106145323 | p04043 | u387774811 | 1569714048 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 196 | a,b,c=map(int,input().split())
if a==5:
if (b==5 and c==7) or(b==7 and c==5):
print("YES")
else:
print("NO")
elif a==7:
if b==5 and c==5:
print("YES")
else:print("NO")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,147 |
s309733446 | p04043 | u313555680 | 1569708614 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 133 | data=input().split(" ")
five=data.count("5")
seven=data.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,148 |
s912455640 | p04043 | u153902122 | 1569699322 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 188 | a = map(int,input().split())
cnt5=0
cnt7=0
for num in a:
if num==5:
cnt5+=1
elif num==7:
cnt7+=1
if (cnt5==2) and (cnt7==1):
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,149 |
s623043644 | p04043 | u854175276 | 1569683517 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 272 | # -*- Coding: utf-8 -*-
a, b, c = map(int, input().split())
num_list = [a, b, c]
seven_cnt = 0
five_cnt = 0
for n in num_list:
if n == 7:
seven_cnt += 1
elif n == 5:
five_cnt += 1
if seven_cnt == 1 and five_cnt == 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,150 |
s150144121 | p04043 | u914098144 | 1569649178 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 88 | A=list(map(int,input().split()))
A.sort()
[print("YES") if A ==[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,151 |
s875022307 | p04043 | u914098144 | 1569649110 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 97 | 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,152 |
s885046874 | p04043 | u747602774 | 1569561989 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 200 | x,y,z = map(int,input().split())
if x == 5 and y == 7 and z == 5:
print('YES')
elif x == 5 and y == 5 and z == 7:
print('YES')
elif x == 7 and y == 5 and z == 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,153 |
s403959872 | p04043 | u821989875 | 1569525884 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 131 | # -*- coding: utf-8 -*-
nums = input().split()
if nums.count('5') == 2 and nums.count('7') == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,154 |
s357706912 | p04043 | u396495667 | 1569509346 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 98 | a = [int(_) for _ in 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,155 |
s825975774 | p04043 | u461996061 | 1569473568 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 190 | a=input().split()
b=0
for i in a:
if i in ['5','7']:
b=b+int(i)
re='Yes'
else:
b=b+int(i)
re='No'
break
if b==17 and re!='No':
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,156 |
s878180230 | p04043 | u799751074 | 1569431806 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 427 | from sys import stdin
lis = stdin.readline().rstrip().split()
a = int(lis[0])
b = int(lis[1])
c = int(lis[2])
if a == 5 or a == 7:
if a == 5:
if b == 5 and c ==7:
print("YES")
elif b == 7 and c ==5:
print("YES")
else:
print("NO")
elif a == 7:
... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,157 |
s505324203 | p04043 | u247465867 | 1569429234 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 109 | #2019/09/25
iroha = input().split()
print("YES" if iroha.count("5") == 2 and iroha.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,158 |
s664709118 | p04043 | u470359972 | 1569422737 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 101 | a,b,c = map(int,input().split())
#print(a,b,c)
if a + b + c == 17:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,159 |
s389622865 | p04043 | u672898046 | 1569383915 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 176 | A = list(map(int, input().split()))
c_7 = 0
c_5 = 0
for i in A:
if i == 7:
c_7 += 1
if i == 5:
c_5 += 1
if c_7 == 1 and c_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,160 |
s999480667 | p04043 | u470359972 | 1569355646 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 445 | input_line = input().split()
#print(input_line)
count5 = 0
count7 = 0
#print(input_line[0])
#print(len(input_line))
for i in range(len(input_line)):
# print(input_line[i])
if int(input_line[i]) == 5:
# print(input_line[i])
count5 += 1
# print(count5)
elif int(input_line[i]) == 7:
count7 += 1
# pri... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,161 |
s065198712 | p04043 | u397942996 | 1569351423 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 181 | # A B Cという入力をリスト化
haiku = list(map(int, input().split()))
#作ったリストをソート
haiku.sort()
if haiku == [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,162 |
s718698801 | p04043 | u397942996 | 1569351383 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 181 | # A B Cという入力をリスト化
haiku = list(map(int, input().split()))
#作ったリストをソート
haiku.sort()
if haiku == [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,163 |
s005523702 | p04043 | u740047492 | 1569339616 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 90 | a, b, c = map(int, input().split())
if a + b + c == 17:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,164 |
s259192977 | p04043 | u740047492 | 1569339119 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 90 | a, b, c = map(int, input().split())
if a + b + c == 17:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,165 |
s777534473 | p04043 | u893063840 | 1569330184 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 154 | # -*- coding: utf-8 -*-
a, b, c = map(int, input().split())
x = [a, b, c]
x.sort()
if x == [5, 5, 7]:
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,166 |
s841468470 | p04043 | u056802793 | 1569275139 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 92 | a, b, c = map(int, input().split())
if(a + b + c == 17):
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,167 |
s260305469 | p04043 | u873715358 | 1569267037 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 100 | a = [int(n) for n in 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,168 |
s075494201 | p04043 | u474925961 | 1569265927 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 169 | import sys
if sys.platform =='ios':
sys.stdin=open('input_file.txt')
S=map(int,input().split())
s=sorted(S)
if s==[5,5,7]:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,169 |
s539471692 | p04043 | u229833930 | 1569210318 | Python | Python (2.7.6) | py | Accepted | 9 | 2568 | 108 | l = str(raw_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,170 |
s622556091 | p04043 | u635070303 | 1569208016 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 108 | n=list(map(int, input().split()))
if n.count(5)==2 and n.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,171 |
s676712300 | p04043 | u167908302 | 1569206931 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 135 | #coding:utf-8
num = list(map(str, input().split()))
if num.count('5') == 2 and num.count('7') == 1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,172 |
s453448715 | p04043 | u779170803 | 1569173810 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 393 | INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
def do():
a = LIST()
a5 = 0
a7 = 0
for A in a:
if A == 5:
a5 +=1
elif A == 7:
a7 +=1
if a5 ==2 and a7 ==1:
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,173 |
s265209579 | p04043 | u953753178 | 1569173049 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 228 | A = list(map(int, input().split()))
five_cnt = 0
seven_cnt = 0
for a in A:
if a == 5:
five_cnt += 1
if 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,174 |
s316549279 | p04043 | u813371068 | 1569164516 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 93 | N = list(map(int, 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,175 |
s023017917 | p04043 | u347640436 | 1569132783 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 116 | A, B, C = map(int, input().split())
if list(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,176 |
s864134387 | p04043 | u844503366 | 1569130179 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 144 | ABC = list(map(int, input().split()))
ABC2 = sorted(ABC)
if ABC2[0] == 5 and ABC2[1] == 5 and ABC2[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,177 |
s273401099 | p04043 | u867848444 | 1569126635 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 89 | x,y,z=map(int,input().split())
A=x*y*z
if A==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,178 |
s166118072 | p04043 | u404794295 | 1569124859 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 208 | a,b,c=input().split(" ")
num=[a,b,c]
num.remove("5") if "5" in num else None
num.remove("5") if "5" in num else None
num.remove("7") if "7" in num else None
if num ==[]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,179 |
s336188946 | p04043 | u661980786 | 1569106709 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 99 | s = input()
if s == "5 5 7" or s == "5 7 5" or s == "7 5 5":
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,180 |
s484310052 | p04043 | u856957183 | 1569102715 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 300 | # coding: utf-8
# Your code here!
input_list = input().split()
sort_list = (int(input_list[0]),int(input_list[1]),int(input_list[2]))
tuple_a = (5,5,7)
tuple_b = (5,7,5)
tuple_c = (7,5,5)
if sort_list==tuple_a or sort_list==tuple_b or sort_list==tuple_c:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,181 |
s034821884 | p04043 | u336624604 | 1569096175 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 134 | A = list(map(int, input().split()))
a = sorted(A)
#print(a)
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,182 |
s307236694 | p04043 | u597047658 | 1569031214 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 230 | 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,183 |
s432247777 | p04043 | u948522631 | 1569029754 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 177 | String=list(map(int,input().split(" ")))
seven=0
five=0
for i in String:
if i==7:
seven+=1
elif i==5:
five+=1
if seven==1 and five==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,184 |
s752352018 | p04043 | u821989875 | 1569024392 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 132 | # -*- cording: utf-8 -*-
nums = input().split()
if nums.count("5") == 2 and nums.count("7") == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,185 |
s705137694 | p04043 | u707690642 | 1569015048 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 271 | input_text = input()
input_ = input_text.split()
cou5 = 0
cou7 = 0
for i in ([int(j) for j in input_]):
if int(i) == 5:
cou5 += 1
elif int(i) == 7:
cou7 += 1
if cou5 == 2 and cou7 == 1:
result = "YES"
else :
result = "NO"
print(result) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,186 |
s051363255 | p04043 | u580093517 | 1569002303 | 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,187 |
s312959859 | p04043 | u385244248 | 1568967958 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 115 | ABC = sorted(list(map(int, input().split())))
ABC2 = [5,5,7]
if ABC == ABC2:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,188 |
s989926189 | p04043 | u333731247 | 1568962146 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 85 | A,B,C=map(int,input().split())
if A+B+C==17:
print('YES')
else :
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,189 |
s743124847 | p04043 | u305732215 | 1568952906 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 118 | s = sorted([int(i) for i in input().split()])
haiku = [5, 5, 7]
if s == 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,190 |
s546274162 | p04043 | u924374652 | 1568944914 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 91 | s = input()
if s.count("5") == 2 and s.count("7") == 1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,191 |
s909576306 | p04043 | u141786930 | 1568943483 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 189 | a, b, c = map(int, 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,192 |
s451088440 | p04043 | u318508464 | 1568932020 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 226 | # coding:utf-8
x, y, z = list(map(int, input().split()))
if x == 5 and y == 7 and z == 5:
print("YES")
elif x == 7 and y == 5 and z == 5:
print("YES")
elif x == 5 and y == 5 and z == 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,193 |
s317538704 | p04043 | u524101931 | 1568916641 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 214 | N = input()
C5 = 2
C7 = 1
for i in N.split():
if i == '5':
C5 -= 1
elif i == '7':
C7 -= 1
else:
print( 'NO' )
break
else:
if C5 == 0 and C7 == 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,194 |
s156952647 | p04043 | u396495667 | 1568916160 | Python | Python (3.4.3) | py | Accepted | 19 | 3316 | 69 | 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,195 |
s716534522 | p04043 | u291932618 | 1568911398 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 86 | 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,196 |
s503721353 | p04043 | u463775490 | 1568881249 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 123 | 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,211,197 |
s002099673 | p04043 | u480138356 | 1568866763 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 235 | import sys
input = sys.stdin.readline
def main():
a = sorted(list(map(int, input().split())))
if a[0] == 5 and a[1] == 5 and a[2] == 7:
print("YES")
else:
print("NO")
if __name__ == "__main__":
main() | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,198 |
s180982877 | p04043 | u296518383 | 1568836567 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 78 | a=list(map(int,input().split()))
a.sort()
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,199 |
s650587179 | p04043 | u087004109 | 1568834737 | Python | Python (3.4.3) | py | Accepted | 17 | 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,211,200 |
s385011524 | p04043 | u156207148 | 1568827269 | Python | Python (3.4.3) | py | Accepted | 17 | 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,201 |
s367579517 | p04043 | u062484507 | 1568822173 | 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,202 |
s315980107 | p04043 | u636290142 | 1568807695 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 212 | a, b, c = map(int, input().split())
if a == 5 and b == 5 and c == 7:
print('YES')
elif a == 5 and b == 7 and c == 5:
print('YES')
elif a == 7 and b == 5 and c == 5:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,203 |
s500430682 | p04043 | u131264627 | 1568778091 | Python | Python (3.4.3) | py | Accepted | 17 | 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,204 |
s592046856 | p04043 | u583276018 | 1568743495 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 123 | a = list(map(int, input().split()))
b = a.count(5)
c = a.count(7)
if(b == 2 and c == 1):
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,205 |
s289729806 | p04043 | u608355135 | 1568731494 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 167 | a,b,c = map(int, input().split())
if( (a + b + c == 17) and (a == 5 or a == 7) and (b == 5 or b == 7) and (c == 5 or 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,206 |
s240870882 | p04043 | u460737328 | 1568682153 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 103 | A, B, C = input().split()
print("YES" if "575" in {A+B+C, A+C+B, B+A+C, B+C+A, C+A+B, C+B+A} 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,207 |
s506822900 | p04043 | u710907926 | 1568682013 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 127 | A = list(map(int, input().split()))
A.sort()
if A[0] == 5 and A[1] == 5 and A[2] == 7:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,208 |
s782157233 | p04043 | u735233212 | 1568676862 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 107 | #ABC042A
ls = list(map(int, input().split()))
if (sorted(ls) == [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,209 |
s234377551 | p04043 | u202570162 | 1568592990 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 77 | 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,210 |
s520871709 | p04043 | u936985471 | 1568527569 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 66 | S=input()
print(("NO","YES")[S.count("7")==1 and S.count("5")==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,211 |
s305971220 | p04043 | u142693157 | 1568513362 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 135 | inputs = list(map(str, input().split()))
if inputs.count("5") == 2 and inputs.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,212 |
s051984287 | p04043 | u631299617 | 1568505240 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 154 | a,b,c=map(int,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,213 |
s612283370 | p04043 | u694903396 | 1568503096 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 233 | A,B,C = input().split()
A = int(A)
B = int(B)
C = int(C)
if A == 5 and B == 5 and C == 7:
print('YES')
elif A == 5 and B == 7 and C == 5:
print('YES')
elif A == 7 and B == 5 and C == 5:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,214 |
s778594757 | p04043 | u354916249 | 1568480131 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 330 | A, B, C = map(int, input().split())
if A == 7:
if B == C and B == 5:
print('YES')
else:
print('NO')
elif B == 7:
if A == C and A == 5:
print('YES')
else:
print('NO')
elif C == 7:
if A == B and A == 5:
print('YES')
else:
print('NO')
else:
pr... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,215 |
s302780471 | p04043 | u575560095 | 1568479650 | 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,216 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.