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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s182271758 | p04043 | u032468447 | 1572894850 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 122 | S = "".join(list(map(str,input().split())))
if S.count("5") == 2 and S.count("7") == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,017 |
s524037609 | p04043 | u303163217 | 1572872364 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 133 | contents = list(map(int, input().split()))
if contents.count(5) == 2 and contents.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,018 |
s622412932 | p04043 | u779728630 | 1572841284 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 123 | 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,019 |
s605688271 | p04043 | u971237642 | 1572811098 | Python | Python (3.4.3) | py | Accepted | 20 | 3060 | 242 | # -*- coding: utf-8 -*-
abc = list(map(int, input().split()))
abc.sort()
is575 = True
if abc[0] != 5:
is575 = False
if abc[1] != 5:
is575 = False
if abc[2] != 7:
is575 = False
if is575:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,020 |
s432906024 | p04043 | u503294750 | 1572802329 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 82 | x = 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,021 |
s061093281 | p04043 | u503294750 | 1572801498 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 245 | s=input().rstrip().split()
if int(s[0])==5 and int(s[1])==5 and int(s[2])==7:
print("YES")
elif int(s[0])==7 and int(s[1])==5 and int(s[2])==5:
print("YES")
elif int(s[0])==5 and int(s[1])==7 and int(s[2])==5:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,022 |
s023393536 | p04043 | u246572032 | 1572794995 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 81 | x = 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,023 |
s888411314 | p04043 | u755616667 | 1572676706 | Python | Python (3.4.3) | py | Accepted | 22 | 3444 | 319 | def equal_list(lst1, lst2):
lst = lst1.copy()
for element in lst2:
try:
lst.remove(element)
except ValueError:
break
else:
if not lst:
return "YES"
return "NO"
HAIKU = [5, 7, 5]
v = list(map(int, input().split()))
print(equal_list(v, HAIKU)) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,024 |
s172991141 | p04043 | u469063372 | 1572666971 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 97 | 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,025 |
s406696371 | p04043 | u143278390 | 1572657684 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 226 | s=[int(i) for i in input().split()]
five_count=0
seven_count=0
for i in s:
if(i==5):
five_count+=1
elif(i==7):
seven_count+=1
if(five_count==2 and seven_count==1):
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,026 |
s062487325 | p04043 | u717993780 | 1572628232 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 134 | a,b,c = map(int,input().split())
li = sorted([a,b,c])
if li[0] == 5 and 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,211,027 |
s955916602 | p04043 | u167140942 | 1572579241 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 157 | a,b,c = map(int,input().split())
if (a == 5 or a == 7) and (b == 5 or b == 7) and (c == 5 or c == 7) and a + b + c == 17:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,028 |
s720120178 | p04043 | u402467563 | 1572555909 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 100 | li = list(str(input()))
if li.count('5')==2 and li.count('7')==1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,029 |
s905383410 | p04043 | u923659712 | 1572554578 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 166 | a, b, c = map(int, input().split())
if (a == 7 and b ==5 and c == 5)or(a == 5 and b == 7 and c == 5)or(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,030 |
s699303018 | p04043 | u923659712 | 1572554346 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 133 | a, b, c = map(int, input().split())
# まず長さが7の文節があるか確認
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,031 |
s666864332 | p04043 | u923659712 | 1572554092 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 291 |
# 文節の入力(整数として扱う)
a, b, c = map(int, input().split())
# まず長さが7の文節があるか確認
if a == 7 and b == 5 and c == 5:
print("YES")
elif a == 5 and b == 7 and c == 5:
print("YES")
elif 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,032 |
s856202480 | p04043 | u557494880 | 1572506214 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 121 | A = list(map(int,input().split()))
ans = 'NO'
if A.count(5) == 2:
if A.count(7) == 1:
ans = 'YES'
print(ans)
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,033 |
s267316603 | p04043 | u010090035 | 1572403369 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 113 | s=sorted(list(input().split()))
if(s[0]=="5" and s[1]=="5" and s[2]=="7"):
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,034 |
s785838436 | p04043 | u209619667 | 1572379096 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 295 | N = list(input().split())
flag = False
count_5 = 0
count_7 = 0
for n in N:
a = int(n)
if a == 5:
count_5 = count_5 + 1
elif a == 7:
count_7 = count_7 + 1
else:
flag = True
break
if flag:
break
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,035 |
s506430120 | p04043 | u503294750 | 1572378845 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 249 | s=input().rstrip().split()
if int(s[0])==5 and int(s[1])==5 and int(s[2])==7:
print("YES")
elif int(s[0])==7 and int(s[1])==5 and int(s[2])==5:
print("YES")
elif int(s[0])==5 and int(s[1])==7 and int(s[2])==5:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,036 |
s328247998 | p04043 | u149991748 | 1572369895 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 195 | # -*-coding: utf-8 -*-
#整数の入力
a = list(map(int, input().split()))
total = 0
for i in a:
if i == 5 or i == 7:
total = total + i
if total == 17:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,037 |
s856052068 | p04043 | u586273727 | 1572368254 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 181 | a,b,c=map(int,input().split())
if a==5 and b ==7 and c==5:
print('YES')
elif a==7 and b==5 and c==5:
print('YES')
elif 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,038 |
s890626128 | p04043 | u150460433 | 1572324232 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 114 | L=list(map(int, input().split()))
L.sort()
if L[0]==5 and L[1]==5 and L[2]==7:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,039 |
s392012891 | p04043 | u982517812 | 1572317599 | Python | Python (3.4.3) | py | Accepted | 19 | 3064 | 290 | a, b, c = map(int, input().split())
if a == 5:
if (b == 5) & (c == 7):
print("YES")
elif (b == 7) & (c == 5):
print("YES")
else:
print("NO")
elif a == 7:
if (b == 5) & (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,040 |
s408819144 | p04043 | u861020408 | 1572309344 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 125 | A = sorted(list(map(int, input().split())))
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,041 |
s871847965 | p04043 | u134520518 | 1572305135 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 146 | l = list(map(int,input().split()))
s = [5,7,5]
for a in l:
if a in s:
s.remove(a)
if 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,042 |
s102610920 | p04043 | u706167597 | 1572230690 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 103 | 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,043 |
s848676614 | p04043 | u166888020 | 1572207833 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 128 | 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,044 |
s641521127 | p04043 | u814986259 | 1572192553 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 112 | 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,045 |
s371665105 | p04043 | u203886313 | 1572184215 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 259 | abc = list(map(int, input().split()));
five, seven = 0, 0;
for i in range(3):
if abc[i] == 5:
five += 1;
elif abc[i] == 7:
seven += 1;
else:
continue;
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,046 |
s928532314 | p04043 | u325956328 | 1572133178 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 110 | s = list(map(int, input().split()))
if s.count(5) == 2 and s.count(7) == 1:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,047 |
s267349439 | p04043 | u269778596 | 1572113100 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 118 | li = list(map(str,input().split()))
if li.count('5') == 2 and li.count('7')==1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,048 |
s608203000 | p04043 | u533713111 | 1572112954 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 92 | 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,049 |
s708870556 | p04043 | u533713111 | 1572112794 | Python | Python (3.4.3) | py | Accepted | 20 | 3060 | 201 | 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,050 |
s443728647 | p04043 | u171115409 | 1572112433 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 179 | # -*- coding: utf-8 -*-
# 整数の入力
A, B, C = map(int, input().split())
val1 = A + B + C
val2 = A*B*C
if(val1 == 17 and val2 == 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,051 |
s457055055 | p04043 | u172111219 | 1572108145 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 126 | ls = list(map(int,input().split()))
ls.sort()
if ls[0]==5 and ls[1]==5 and ls[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,052 |
s166789557 | p04043 | u623516423 | 1572033225 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 110 | ls=list(map(int,input().split()))
ls1=[[5,7,5],[5,5,7],[7,5,5]]
if ls in ls1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,053 |
s815379525 | p04043 | u368882459 | 1572032884 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 120 | ary = list(map(int, input().split()))
if ary.count(5) == 2 and ary.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,054 |
s568947625 | p04043 | u100418016 | 1571986681 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 189 | arr_str = input().split(" ")
ans = 0
for a in arr_str:
if(a == "5"):
ans = ans + 1
elif(a=="7"):
ans =ans +10
if( ans == 12):
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,055 |
s274952180 | p04043 | u348868667 | 1571968463 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 112 | A,B,C = map(int,input().split())
tmp = sorted([A,B,C])
if tmp == [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,056 |
s721906697 | p04043 | u628965061 | 1571968035 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 99 | list=list(map(int,input().split()))
print("YES" if list.count(7)==1 and list.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,057 |
s802306660 | p04043 | u182765930 | 1571939253 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 78 | s = sorted(map(int, input().split()))
print('YES' if s == [5, 5, 7] else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,058 |
s627614984 | p04043 | u241159583 | 1571925685 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 84 | a = input().split()
new = sorted(a)
print("YES" if new == ["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,059 |
s923763270 | p04043 | u518223105 | 1571890321 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 167 | # -*- coding: utf-8 -*-
abc = list(input().split())
s = "".join(abc)
s = s.replace("5", "", 2).replace("7", "", 1)
if 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,060 |
s920927682 | p04043 | u780354103 | 1571885420 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 103 | ABC = sorted(list(map(int,input().split())))
if ABC == [5,5,7]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,061 |
s557808883 | p04043 | u254871849 | 1571881866 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 229 | ls = list(map(int, input().split()))
count5, count7, ans = 0, 0, "NO"
for digit in ls:
if digit == 5:
count5 += 1
elif digit == 7:
count7 += 1
if count5 == 2 and count7 == 1:
ans = "YES"
print(ans)
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,062 |
s165183265 | p04043 | u355137116 | 1571805717 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 147 | 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,211,063 |
s303372354 | p04043 | u079427319 | 1571800541 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 171 | numList = input().split()
if len(numList) != 3:
print('NO')
elif numList.count('5') != 2:
print('NO')
elif numList.count('7') != 1:
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,064 |
s928680707 | p04043 | u951480280 | 1571777765 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 90 | 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,211,065 |
s663264273 | p04043 | u099300051 | 1571751388 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 108 | a = list(map(int,input().split()))
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,066 |
s358872875 | p04043 | u744563031 | 1571729062 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 84 | N=input()
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,067 |
s019106953 | p04043 | u244203620 | 1571698812 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 91 | a, b, c = map(int, input().split())
if a * b * c == 175:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,068 |
s270089847 | p04043 | u741953371 | 1571695868 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 105 | x = [int(x) for x in input().split(' ')]
print('YES' if sum(x) == 17 and set(x) == set([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,069 |
s411816424 | p04043 | u361342329 | 1571588347 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 109 | l = [int(i) for i in input().split()]
print('YES') if l.count(5) == 2 and l.count(7) == 1 else print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,070 |
s021723878 | p04043 | u912115033 | 1571540484 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 122 | ch = sorted(map(int, input().split()))
if ch[0] == 5 and ch[1] == 5 and ch[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,071 |
s442432224 | p04043 | u677400065 | 1571521074 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 210 | a = list(map(int, input().split()))
count = 0
count1 = 0
for i in range(3):
if a[i] == 5:
count+=1
elif a[i] == 7:
count1+=1
if (count == 2) & (count1 == 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,072 |
s499523528 | p04043 | u326775883 | 1571504639 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 152 | # -*- coding: utf-8 -*-
# スペース区切りの整数の入力
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,073 |
s460918714 | p04043 | u326775883 | 1571504345 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 85 | a,b,c=map(int,input().split())
s=a+b+c
if s == 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,074 |
s425377556 | p04043 | u408791346 | 1571442826 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 120 | n = sorted(list(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,075 |
s895582778 | p04043 | u690781906 | 1571403269 | 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,076 |
s636043764 | p04043 | u045953894 | 1571376952 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 85 | a,b,c=map(int,input().split())
s=a+b+c
if s == 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,077 |
s915337084 | p04043 | u539850805 | 1571373223 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 110 | l = [int(x) for x in input().split()]
if l.count(5) == 2 and l.count(7) == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,078 |
s105280197 | p04043 | u225388820 | 1571286961 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 88 | a,b,c= map(int, input().split())
if a*b*c==5*5*7:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,079 |
s387456469 | p04043 | u853185302 | 1571282859 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 91 | 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,080 |
s470417613 | p04043 | u673981655 | 1571280013 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 103 | n = list(map(int, input().split()))
i = sum(n)
if i % 17 == 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,081 |
s139113509 | p04043 | u088552457 | 1571263881 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 206 | # -*- coding: utf-8 -*-
m = list(map(int, input().split()))
count5 = len([i for i in m if i == 5])
count7 = len([i for i in m if i == 7])
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,082 |
s101609947 | p04043 | u777283665 | 1571260581 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 130 | a, b, c = map(int, input().split())
if [a, b, c].count(5) == 2 and [a, b, c].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,083 |
s622277897 | p04043 | u357630630 | 1571248057 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 76 | print("YES") if ["5", "5", "7"] == sorted(input().split()) else print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,084 |
s789706190 | p04043 | u376099073 | 1571218136 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 129 | A,B,C = map(int,input().split())
x = [A,B,C]
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,211,085 |
s562757549 | p04043 | u172035535 | 1571209562 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 183 | a,b,c = map(int,input().split())
f,s = 0,0
for z in [a,b,c]:
if z == 5:
f += 1
elif z == 7:
s += 1
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,211,086 |
s601292058 | p04043 | u617203831 | 1571208664 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 101 | s=list(map(str,input().split()))
if s.count("5")==2 and s.count("7")==1:print("YES")
else:print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,087 |
s524211688 | p04043 | u045953894 | 1571199688 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 85 | a,b,c=map(int,input().split())
s=a+b+c
if s == 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,088 |
s056761072 | p04043 | u626468554 | 1571193700 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 203 | a = list(map(int,input().split()))
a.sort()
ans = True
if a[0] != 5:
ans = False
if a[1] != 5:
ans = False
if a[2] != 7:
ans = False
if(ans):
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,089 |
s164602766 | p04043 | u708890186 | 1571176599 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 173 | A=[x for x in input().split()]
c5=0
c7=0
for i in range(3):
if A[i]=='5':
c5=c5+1
elif A[i]=='7':
c7=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,090 |
s867984898 | p04043 | u578049848 | 1571165922 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 111 | a = input()
iroha = ['5 5 7','5 7 5', '7 5 5']
if a in iroha:
print("YES")
else :
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,091 |
s415464735 | p04043 | u045953894 | 1571159780 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 89 | A,B,C=map(int,input().split())
if A*B*C == 5*5*7:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,092 |
s361678818 | p04043 | u077291787 | 1571153248 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 233 | # ABC042A - 和風いろはちゃんイージー / Iroha and Haiku (ABC Edition)
def main():
A = sorted(map(int, input().split()))
flg = A == [5, 5, 7]
print("YES" if flg 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,093 |
s331577199 | p04043 | u835924161 | 1571135001 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 80 | a,b,c=map(int,input().split())
if a*b*c==5*5*7:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,094 |
s240525529 | p04043 | u203383537 | 1571083541 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 105 | a=list(map(int,input().split()))
if sum(a) == 17 and min(a) == 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,095 |
s871790640 | p04043 | u185502200 | 1571016800 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 116 | abc = list(map(int,input().split()))
if abc.count(5) == 2 and abc.count(7) == 1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,096 |
s335492200 | p04043 | u633000076 | 1571006741 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 168 | input_line=input().rstrip().split(" ")
five=int(input_line.count("5"))
seven=int(input_line.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,097 |
s007656297 | p04043 | u633000076 | 1571006702 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 168 | input_line=input().rstrip().split(" ")
five=int(input_line.count("5"))
seven=int(input_line.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,098 |
s913475273 | p04043 | u464576495 | 1570945774 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 370 | result = input().split()
message = "NO"
if int(result[0]) == 7:
if int(result[1]) == 5:
if int(result[2]) == 5:
message = "YES"
elif int(result[0]) == 5:
if int(result[1]) == 7:
if int(result[2]) == 5:
message = "YES"
elif int(result[1]) == 5:
if int(result[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,099 |
s753123507 | p04043 | u799978560 | 1570945705 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 142 | s = sorted(list(map(int,input().split())),reverse = True)
if s[0] == 7 and s[1] == 5 and s[2] == 5:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,100 |
s234844140 | p04043 | u281610856 | 1570933772 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 123 | l = sorted(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,101 |
s679128773 | p04043 | u970197315 | 1570931807 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 385 | # ABC042 A Iroha and Haiku (ABC Edition)
a,b,c = map(int,input().split())
count_five = 0
count_seven = 0
if a == 5:
count_five += 1
elif a == 7:
count_seven += 1
if b == 5:
count_five += 1
elif b == 7:
count_seven += 1
if c == 5:
count_five += 1
elif c == 7:
count_seven += 1
if count_five ... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,102 |
s146235443 | p04043 | u849398110 | 1570919913 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 128 | input_line = input().split()
count = 0
for i in input_line:
count += int(i)
if count == 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,103 |
s900500371 | p04043 | u416223629 | 1570902139 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 110 | a = list(map(int,input().split()))
if a.count(5)==2 and a.count(7)==1:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,104 |
s606086440 | p04043 | u790027333 | 1570863602 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 89 | a,b,c = map(int,input().split())
s = a+b+c
if s == 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,105 |
s507387753 | p04043 | u746419473 | 1570828859 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 137 | a, b, c = map(int, input().split())
print("YES" if a == b == 5 and c == 7 or a == c == 5 and b == 7 or b == c == 5 and a == 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,106 |
s371772005 | p04043 | u654558363 | 1570822748 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 248 |
if __name__ == "__main__":
a, b, c = map(int, input().split())
if a == 5 and b == 5 and c == 7 or \
a == 5 and c == 5 and b == 7 or \
b == 5 and c == 5 and a == 7:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,107 |
s130776453 | p04043 | u999893056 | 1570797525 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 243 | num = list(map(int,input().split()))
count5 = 0
count7 = 0
for i in num:
if i == 5:
count5 += 1
elif i == 7:
count7 += 1
else:
continue
if count5 == 2 and count7 == 1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,108 |
s623826499 | p04043 | u668715715 | 1570750859 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 124 | a,b,c = input().strip().split()
d = a + b + c
if d == "755" or d == "575" or d == "557":
print ("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,109 |
s711169350 | p04043 | u891635666 | 1570701637 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 116 | ls = sorted(map(int, input().split()))
if ls[0] == ls[1] == 5 and ls[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,110 |
s020373792 | p04043 | u391059484 | 1570673026 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 87 | a,b,c = map(int, input().split())
if a*b*c == 5*5*7:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,111 |
s317079027 | p04043 | u727787724 | 1570509033 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 140 | a=input()
A=a.split()
for i in range(len(A)):
A[i]=int(A[i])
A.sort()
if A[0]==A[1]==5 and A[2]==7:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,112 |
s933023009 | p04043 | u383450070 | 1570486215 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 217 | s = input().rstrip().split(' ')
counta = 0
countb = 0
for i in range(int(len(s))):
if int(s[i]) == 7:
counta += 1
elif int(s[i]) == 5:
countb += 1
if counta == 1 and countb == 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,113 |
s133731661 | p04043 | u767432305 | 1570485822 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 216 | abc=[int(i) for i in input().split()]
num_five=0
num_seven=0
for i in range(3):
if abc[i]==5:
num_five+=1
elif abc[i]==7:
num_seven+=1
if num_five==2 and num_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,114 |
s903264040 | p04043 | u637413735 | 1570480181 | Python | Python (3.4.3) | py | Accepted | 52 | 5516 | 394 | #! /usr/bin/env python
# -*- coding: utf-8 -*-
import pdb
import sys
F = sys.stdin
a = list(map(int,F.readline().rstrip().split()))
countfive = 0
countseven = 0
for i in range(len(a)):
if a[i] == 5:
countfive += 1
continue
if a[i] == 7:
countseven += 1
continue
if (countfive ... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,115 |
s817465523 | p04043 | u614875193 | 1570475968 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 60 | L=input();print('YNEOS'[L.count('5')!=2 or '7' not in L::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,116 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.