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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s907045066 | p04043 | u460399356 | 1592797619 | Python | Python (3.8.2) | py | Accepted | 26 | 8872 | 124 | ABC_list = input().split()
if ABC_list.count("5") == 2 and ABC_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,209,817 |
s530899158 | p04043 | u889390649 | 1592755003 | Python | Python (3.8.2) | py | Accepted | 24 | 9044 | 292 | # coding: utf-8
# Your code here!
nums = list(map(int, input().split())) # n個の数字がリストに格納される
cnt_5 = 0
cnt_7 = 0
for i in nums:
if i == 5:
cnt_5 += 1
if i == 7:
cnt_7 += 1
if cnt_5 == 2 and cnt_7 == 1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,818 |
s135759770 | p04043 | u790012205 | 1592734701 | Python | Python (3.8.2) | py | Accepted | 30 | 9004 | 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,209,819 |
s755623975 | p04043 | u137228327 | 1592733656 | Python | Python (3.8.2) | py | Accepted | 23 | 9032 | 257 | # coding: utf-8
# Your code here!
lst = list(map(int,input().split()))
#print(lst)
count5 = 0
count7 = 0
for i in lst:
if i == 5:
count5+=1
elif i == 7:
count7+=1
if count7==1 and count5 ==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,209,820 |
s062392589 | p04043 | u793430793 | 1592706047 | Python | Python (3.8.2) | py | Accepted | 25 | 9168 | 181 | a,b,c=(int(x) for x in input().split())
mylist=[a,b,c]
if mylist.count(5) == 2:
if mylist.count(7) == 1:
print('YES')
else:
print('NO')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,821 |
s018284414 | p04043 | u304599973 | 1592681526 | Python | Python (3.8.2) | py | Accepted | 29 | 8912 | 104 | lis = input().split()
if (lis.count('7') == 1) & (lis.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,209,822 |
s313422789 | p04043 | u131411061 | 1592656914 | Python | Python (3.8.2) | py | Accepted | 21 | 9016 | 109 | l = list(input().split())
if l.count('5') == 2 and l.count('7') == 1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,823 |
s524985445 | p04043 | u653883313 | 1592630762 | Python | Python (3.8.2) | py | Accepted | 27 | 9164 | 132 | a = sorted(list(map(int, input().split())), reverse=True)
if a[0]==7 and a[1]==5 and a[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,209,824 |
s237086307 | p04043 | u844813573 | 1592625363 | Python | Python (3.8.2) | py | Accepted | 23 | 8900 | 113 | line = input()
if line == "5 5 7" or line == "5 7 5" or line == "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,209,825 |
s232771841 | p04043 | u188827677 | 1592581592 | Python | Python (3.8.2) | py | Accepted | 25 | 8992 | 102 | abc = list(map(int,input().split()))
print("YES" if abc.count(5) == 2 and abc.count(7) == 1 else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,826 |
s011643217 | p04043 | u875769753 | 1592571287 | Python | Python (3.8.2) | py | Accepted | 24 | 9040 | 116 | ls = list(map(int,input().split()))
if ls.count(5) == 2 and ls.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,209,827 |
s768615114 | p04043 | u400703709 | 1592555318 | Python | Python (3.8.2) | py | Accepted | 24 | 9096 | 441 | a,b,c = (int(x) for x in input().split())
if a == 5:
if b == 5:
if c == 7:
print("YES")
else:
print("NO")
elif b == 7:
if c == 5:
print("YES")
else:
print("NO")
else:
print("NO")
elif a == 7:
if b == 5:
if c... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,828 |
s619071714 | p04043 | u197237612 | 1592541122 | Python | Python (3.8.2) | py | Accepted | 28 | 9112 | 193 | s = list(map(int, input().split()))
count5 = 0
count7 = 0
for i in s:
if i == 5:
count5+=1
else:
count7+=1
if count5 == 2 and count7 == 1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,829 |
s441312195 | p04043 | u891516200 | 1592538983 | Python | Python (3.8.2) | py | Accepted | 27 | 9012 | 146 | input_list = list(map(int, input().split(' ')))
if input_list.count(5) == 2 and input_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,209,830 |
s753543609 | p04043 | u759412327 | 1592523469 | Python | Python (3.8.2) | py | Accepted | 27 | 9056 | 80 | 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,209,831 |
s876557753 | p04043 | u125269142 | 1592518876 | Python | Python (3.8.2) | py | Accepted | 24 | 9156 | 87 | 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,209,832 |
s233110854 | p04043 | u200887663 | 1592508933 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 101 | a,b,c=map(int,input().split())
l=[a,b,c]
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,209,833 |
s209764526 | p04043 | u422242631 | 1592454289 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 116 | 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,209,834 |
s038937387 | p04043 | u847901871 | 1592447802 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 120 | iroha = list(input().split())
if iroha.count('5') == 2:
if iroha.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,209,835 |
s979132496 | p04043 | u671861352 | 1592446446 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 292 | #!python3
LI = lambda: list(map(int, input().split()))
# input
l = LI()
def main():
d = {i: 0 for i in range(11)}
for x in l:
d[x] += 1
if d[5] == 2 and d[7] == 1:
ans = "YES"
else:
ans = "NO"
print(ans)
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,209,836 |
s825660926 | p04043 | u440478998 | 1592442991 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 113 | 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,209,837 |
s746148140 | p04043 | u509029769 | 1592431277 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 185 | n = map(int,input().split())
d5 = 0
d7 = 0
for i in n:
if i == 5:
d5 += 1
elif i == 7:
d7 += 1
if d5 == 2 and d7 == 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,209,838 |
s628339325 | p04043 | u780698286 | 1592274195 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 107 | a = list(map(int, input().split()))
if sum(a) == 17 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,209,839 |
s600134119 | p04043 | u798400260 | 1592260774 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 185 | n = map(int,input().split())
nana = 0
go = 0
for i in n:
if i == 5:
go +=1
elif i ==7:
nana +=1
if nana ==1 and go ==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,209,840 |
s574534982 | p04043 | u692399960 | 1592258316 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 134 | a,b,c = map(int,input().split())
haiku = [a,b,c]
if haiku.count(7) == 1 and haiku.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,209,841 |
s107761167 | p04043 | u552145906 | 1592200956 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 155 | A = list(map(int, input().split()))
A.sort()
if A[0] == 5:
if A[1] == 5:
if A[2] == 7:
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,209,842 |
s532362726 | p04043 | u647087591 | 1592159980 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 94 | l = input()
if l.count('5') == 2 and l.count('7') == 1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,843 |
s883887979 | p04043 | u061361273 | 1592141955 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 136 | def main():
lst = input()
lst = lst.split()
lst.sort()
if lst == ['5','5','7']:
print("YES")
else:
print("NO")
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,209,844 |
s861691466 | p04043 | u951289777 | 1592088892 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 137 | num_list = list(map(int, input().split()))
if num_list.count(5) == 2 and num_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,209,845 |
s804458136 | p04043 | u697323362 | 1592081816 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 110 | A=sorted(list(map(int,input().split())))
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,209,846 |
s749907889 | p04043 | u555370585 | 1592076736 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 108 | 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,209,847 |
s170741073 | p04043 | u709799578 | 1592064966 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 177 | a, b, c = map(int, input().split())
ans = 'NO'
if (a == 5 and b == 7 and c == 5) or (a == 5 and b == 5 and c == 7) or (a == 7 and b == 5 and c == 5):
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,209,848 |
s352510939 | p04043 | u696491170 | 1592062869 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 392 |
def main():
input_str = input()
a,b,c = input_str.split(' ')
a = int(a)
b = int(b)
c = int(c)
flag = False
for i in [a,b,c,'fin']:
if i == 'fin':
if a+b+c== 17:
flag = True
elif not i in [5,7]:
break
if flag:
print('YE... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,849 |
s798959815 | p04043 | u697658632 | 1592027461 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 98 | s = sorted(list(map(int, input().split())))
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,209,850 |
s007359777 | p04043 | u790965152 | 1592021085 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 132 | #!/usr/bin/env python3
import sys
if sorted(sys.stdin.readline().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,209,851 |
s823941101 | p04043 | u931655383 | 1591982984 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 248 | a,b,c =input().split()
a = int(a)
b = int(b)
c = int(c)
if a == 5:
if (b== 7 and c==5) or (b== 5 and c==7):
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,209,852 |
s274917661 | p04043 | u489959379 | 1591968196 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 274 | import sys
sys.setrecursionlimit(10 ** 7)
input = sys.stdin.readline
f_inf = float('inf')
mod = 10 ** 9 + 7
def resolve():
ABC = list(input().split())
print("YES" if ABC.count("5") == 2 and ABC.count("7") == 1 else "NO")
if __name__ == '__main__':
resolve()
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,853 |
s831933541 | p04043 | u100927237 | 1591965015 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 95 | s = input()
if s == "7 5 5" or s == "5 7 5" or s == "5 5 7":
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,854 |
s049876896 | p04043 | u392361133 | 1591963772 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 91 | a = list(input().split())
print("YES" if a.count('7') == 1 and a.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,209,855 |
s626033553 | p04043 | u008022357 | 1591932866 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 102 | a = list(map(int,input().split()))
if(sum(a) == 17 and 7 in 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,209,856 |
s902073288 | p04043 | u124212130 | 1591921342 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 264 | A, B, C = map(int, input().split())
five = 0
seven = 0
if A == 5:
five += 1
if A == 7:
seven += 1
if B == 5:
five += 1
if B == 7:
seven += 1
if C == 5:
five += 1
if C == 7:
seven += 1
if five == 2 and seven == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,857 |
s673724414 | p04043 | u667694979 | 1591899660 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 119 | number=list(map(int,input().split()))
if number.count(5)==2 and number.count(7)==1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,858 |
s387232699 | p04043 | u500376440 | 1591881208 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 99 | ABC=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,209,859 |
s333949629 | p04043 | u912650255 | 1591841002 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 130 | A,B,C = map(int,input().split())
S = [A,B,C]
if S.count(5) == 2 and S.count(7) == 1 :
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,860 |
s207219943 | p04043 | u939026953 | 1591840691 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 120 | 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,209,861 |
s971005227 | p04043 | u414772150 | 1591835444 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 199 | a=list(map(int,input().split()))
fc=0
sc=0
for num in range(3):
if (a[num]==5):
fc=fc+1
elif(a[num]==7):
sc=sc+1
if (fc==2 and sc==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,209,862 |
s377300104 | p04043 | u500376440 | 1591735809 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 79 | 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,209,863 |
s684518191 | p04043 | u272525952 | 1591724912 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 121 | l=list(map(int,input().split()))
if l.count(5)==2 and l.count(7)==1 and len(l)==3:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,864 |
s251248585 | p04043 | u822871631 | 1591718353 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 102 | a = input().split()
if a.count("5") == 2 and a.count("7") == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,865 |
s904254358 | p04043 | u642874916 | 1591712232 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 122 | L = sorted(list(map(int, input().split())))
if L[0] == 5 and L[1] == 5 and L[2] == 7:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,866 |
s372802055 | p04043 | u923894634 | 1591648455 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 308 | A, B, C = map(int,input().split())
list = [A,B,C]
if 5 in list:
d = list.index(5)
list[d] = 0
if 5 in list:
e = list.index(5)
list[e] = 0
if 7 in list:
print("YES")
else:
print("NO")
else:
print("NO")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,867 |
s273087172 | p04043 | u217814585 | 1591642048 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 225 | x=[int(i) for i in input().split()]
y=[0,0]
for ele in x:
if ele==5: y[0]+=1
elif ele==7: y[1]+=1
else: continue
if y[0]==2:
if y[1]==1:
print('YES')
else:
print('NO')
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,868 |
s075178481 | p04043 | u667472448 | 1591600555 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 83 | a = map(int, input().split())
if sum(a)==17:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,869 |
s346368124 | p04043 | u782009499 | 1591583447 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 104 | a = [int(i) for i 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,209,870 |
s337927539 | p04043 | u293825440 | 1591575861 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 434 | A,B,C = map(int,input().split())
lis=[A,B,C]
def hantei(list):
if int(list[0]) == 7:
if int(list[1]) == 5 and int(list[2]) == 5:
return True
if int(list[1]) == 7:
if int(list[0]) == 5 and int(list[2]) == 5:
return True
if int(list[2]) == 7:
if int(list[0]) =... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,871 |
s395829047 | p04043 | u568711768 | 1591573591 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 190 | 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,209,872 |
s740153467 | p04043 | u256363575 | 1591562074 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 152 | l,m,n = map(int, input().split())
newlist = sorted([l,m,n])
if newlist[0]==5 and newlist[1]==5 and newlist[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,209,873 |
s920401173 | p04043 | u841568901 | 1591560703 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 87 | X = list(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,209,874 |
s005950638 | p04043 | u199272404 | 1591551726 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 102 | a, b, c = (int(x) for x in 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,209,875 |
s138265471 | p04043 | u492749916 | 1591517596 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 181 | A, B, C = list(map(int, input().split()))
arr = []
ideal = [5,5,7]
arr.append(A)
arr.append(B)
arr.append(C)
arr = sorted(arr)
if arr == ideal:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,876 |
s691823927 | p04043 | u811436126 | 1591504390 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 92 | abc = sorted(list(input().split()))
print('YES') if abc == ['5', '5', '7'] else print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,877 |
s698582823 | p04043 | u666964944 | 1591493931 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 81 | s = input().split()
print('YES' if s.count('5')==2 and s.count('7')==1 else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,878 |
s988085865 | p04043 | u213908267 | 1591491551 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 235 | import sys
for line in sys.stdin :
list = line.split(" ")
for n in range(len(list)) :
list[n] = int(list[n])
list.sort()
if (list[0] == 5 and list[1] == 5 and list[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,209,879 |
s178851673 | p04043 | u923270446 | 1591481944 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 67 | a,b,c=map(int,input().split())
print("YES" if a*b*c==175 else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,880 |
s207991861 | p04043 | u040923684 | 1591476679 | Python | Python (3.4.3) | py | Accepted | 16 | 3064 | 820 | #!/usr/bin/env python3
import sys
YES = "YES" # type: str
NO = "NO" # type: str
def solve(A: int, B: int, C: int):
five_a_seven = {5, 7}
abc = {A, B, C}
if(five_a_seven & abc == five_a_seven and A+B+C == 17):
print(YES)
return YES
else:
print(NO)
return NO
# Genera... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,881 |
s899889122 | p04043 | u971811058 | 1591469732 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 170 | a, b, c = map(int, input().split())
if a==5 or 7 and b==5 or 7 and c==5 or 7:
if a+b+c == 17:
print("YES")
else:
print("NO")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,882 |
s210164880 | p04043 | u516579758 | 1591467376 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 164 | a,b,c=map(int,input().split())
if a==5 or 7 and b==5 or 7 and c==5 or 7:
if a+b+c==17:
print('YES')
else:
print('NO')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,883 |
s398995760 | p04043 | u958506960 | 1591418387 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 78 | abc = sorted(input().split())
print('YES' if abc == ['5', '5', '7'] else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,884 |
s544847736 | p04043 | u180824420 | 1591396154 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 124 | A,B,C=map(int,input().split())
x=[A,B,C]
y=sorted(x)
if y[0]==5 and y[1]==5 and y[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,209,885 |
s031893681 | p04043 | u685244071 | 1591373185 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 174 | A, B, C = map(int, input().split())
if A + B + C == 17:
if (A == 5 or 7) and (B == 5 or 7) and (C == 5 or 7):
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,209,886 |
s691436888 | p04043 | u974935538 | 1591359454 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 137 | import collections
s= input().split()
li = collections.Counter(s)
if (li["5"] ==2) &(li["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,209,887 |
s375362423 | p04043 | u757274384 | 1591329424 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 122 | # -*- coding : utf-8 *-
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,209,888 |
s631571719 | p04043 | u583799976 | 1591322328 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 147 | numbers=input()
numbers_list=numbers.split(' ')
if numbers_list.count('5')==2 and numbers_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,209,889 |
s286361261 | p04043 | u941794834 | 1591311212 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 107 | 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,209,890 |
s207570074 | p04043 | u957957759 | 1591296286 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 104 | a,b,c=map(int,input().split())
s1=sorted([a,b,c])
if s1==[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,209,891 |
s525066439 | p04043 | u067986264 | 1591243469 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 98 | 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,209,892 |
s108316595 | p04043 | u037156014 | 1591240675 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 200 | a, b, c = map(int, input().split())
f = 0
s = 0
if a==5:f = f+1
if a==7:s = s+1
if b==5:f = f+1
if b==7:s = s+1
if c==5:f = f+1
if c==7:s = 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,209,893 |
s455055395 | p04043 | u146597538 | 1591235664 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 120 | 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,209,894 |
s047678522 | p04043 | u579508806 | 1591210046 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 146 | a=[int(x) for x in input().split()]
count=0
if 7 in a:
for i in a:
if i == 5:
count+=1
if count==2:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,895 |
s448740453 | p04043 | u199356004 | 1591168073 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 114 | N=[int(i) for i in input().split(" ")]
if N.count(7) == 1 and N.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,209,896 |
s035961585 | p04043 | u595716769 | 1591166274 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 104 | a, b, c = map(int, input().split())
if a+b+c == 17 and a*b*c == 175:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,897 |
s223941311 | p04043 | u695474809 | 1591157805 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 127 | a,b,c =map(str,input().split())
d=a+b+c
e=d.count("5")
f=d.count("7")
if(e==2 and f==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,209,898 |
s385081067 | p04043 | u076802964 | 1591139940 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 101 | a, b, c = (int(x) for x in 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,209,899 |
s127388150 | p04043 | u065099501 | 1591133012 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 99 | A=list(map(str,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,209,900 |
s893781655 | p04043 | u350093546 | 1591074041 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 104 | x=list(map(int,input().split()))
if x.count(5)==2 and x.count(7)==1:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,901 |
s551443742 | p04043 | u955474478 | 1591071580 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 156 | a,b,c=map(int,input().split())
d=0
if a==5 or b==5 or c==5:
if a==7 or b==7 or c==7:
if a+b+c==17:
print("YES")
d=1
if d==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,209,902 |
s916083539 | p04043 | u581142892 | 1591053852 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 213 | class A:
def solve(self):
[a, b, c] = sorted([int(x) for x in input().split(" ")])
if a == 5 and b == 5 and c == 7:
print("YES")
else:
print("NO")
A().solve()
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,903 |
s608118019 | p04043 | u922449550 | 1591048678 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 91 | if sorted(list(map(int, input().split()))) == [5, 5, 7]:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,904 |
s695385056 | p04043 | u357751375 | 1591024399 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 106 | A,B,C= input().split()
Sum = int(A) + int(B) + int(C)
if Sum == 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,209,905 |
s177386641 | p04043 | u183945517 | 1591014567 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 146 | ans = list(input().split())
if ans.count("5") == 2:
if ans.count("7") == 1:
ans = "YES"
else:
ans = "NO"
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,209,906 |
s022959333 | p04043 | u750651325 | 1591014472 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 120 | A = [int(i) for i in input().split()]
if 5 in A and 7 in A 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,209,907 |
s218471632 | p04043 | u285372827 | 1590989451 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 121 | a = list(map(int, input().split()))
sorted_list = sorted(a)
if sorted_list == [5,5,7]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,908 |
s031152005 | p04043 | u853187694 | 1590966012 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 94 | 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,209,909 |
s148105399 | p04043 | u941277791 | 1590961698 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 245 | num=input()
moji=num.split(" ")
if int(moji[0])==7 or int(moji[0])==5:
pass
else:
print("NO")
if int(moji[1])==7 or int(moji[1])==5:
if int(moji[0])+int(moji[1])+int(moji[2])==17:
print("YES")
else:
print("NO")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,910 |
s292958330 | p04043 | u391589398 | 1590951539 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 158 | a, b, c = map(int, input().split())
c5 = (a==5) + (b==5) + (c==5)
c7 = (a==7) + (b==7) + (c==7)
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,209,911 |
s540025696 | p04043 | u629540524 | 1590945260 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 78 | a = input()
print('YES' if a.count('5') == 2 and a.count('7') == 1 else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,912 |
s763712892 | p04043 | u629540524 | 1590944914 | 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,209,913 |
s167833091 | p04043 | u460129720 | 1590941960 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 233 | B = list(map(int, input().split()))
counter = 0
five_seven_five = [5,7,5]
for i in B:
if i in five_seven_five:
counter += 1
five_seven_five.remove(i)
else:
print('NO')
if counter ==3:
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,209,914 |
s415892800 | p04043 | u736474437 | 1590915602 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 105 | lis = [int(i) for i in input().split()]
print("YES" if lis.count(5) == 2 and lis.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,209,915 |
s431848640 | p04043 | u234161743 | 1590906331 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 93 | I = sorted(map(int,input().split()))
if I ==[5,5,7]:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,916 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.