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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s123926559 | p04043 | u078349616 | 1575085001 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 210 | A, B, C = list(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,210,917 |
s280413512 | p04043 | u092460072 | 1575063282 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 110 | l=list(map(int, input().split()))
if l.count(5)==2 and l.count(7)==1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,918 |
s496076665 | p04043 | u339503988 | 1575056450 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 73 | s=input().split();print("NYOE S"[s.count('7')==1 and s.count('5')==2::2]) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,919 |
s844522676 | p04043 | u920387587 | 1574996657 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 146 | a, b, c = map(int, input().split())
countlist=[a,b,c]
if countlist.count(5) ==2 and countlist.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,210,920 |
s132480271 | p04043 | u365254117 | 1574982911 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 101 | s=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,210,921 |
s785676440 | p04043 | u342869120 | 1574982247 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 130 | abc = list(map(int, input().split()))
abc.sort()
if abc[0]==5 and abc[1]==5 and abc[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,210,922 |
s757693433 | p04043 | u088974156 | 1574982217 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 79 | 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,210,923 |
s267663315 | p04043 | u823458368 | 1574922973 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 161 | a, b, c = map(int, input().split())
if (a==5 and b ==5 and c==7) or (a==5 and b==7 and c==5) or (a ==7 and b==5 and c==5):
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,924 |
s638925282 | p04043 | u875600867 | 1574913483 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 97 | x = 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,210,925 |
s550922753 | p04043 | u799691369 | 1574911527 | Python | Python (3.4.3) | py | Accepted | 50 | 3060 | 288 | A, B, C = map(int, input().split())
l = [5, 5, 7]
def main(A=A, B=B, C=C):
if A in l:
l.remove(A)
if B in l:
l.remove(B)
if C in l:
return 'YES'
return 'NO'
if __name__ == '__main__':
result = main()
print(result) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,926 |
s289247498 | p04043 | u075155299 | 1574911063 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 121 | s =map(int,input().split())
r=0
for i in s:
if i in [5,7]:
r=r+i
if r==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,210,927 |
s348900420 | p04043 | u854093727 | 1574910159 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 117 | 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,210,928 |
s470951160 | p04043 | u376403443 | 1574909675 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 146 |
A,B,C = input().split()
A = int(A)
B = int(B)
C = int(C)
if A*B*C == 5*5*7 and 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,210,929 |
s082351017 | p04043 | u788137651 | 1574874817 | Python | Python (3.4.3) | py | Accepted | 23 | 3572 | 1,434 | #
# ⋀_⋀
# (・ω・)
# ./ U ∽ U\
# │* 合 *│
# │* 格 *│
# │* 祈 *│
# │* 願 *│
# │* *│
#  ̄
#
import sys
sys.setrecursionlimit(10**6)
input=sys.stdin.readline
from math import floor,ceil,sqrt,factorial,log #log2ないyp
from heapq import heappop, heappush, heappushpop
from collections import Counter,defaultd... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,930 |
s784047580 | p04043 | u571832343 | 1574826652 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 296 | a,b,c = map(int, input().split())
if a == 5:
if b == 5:
if c == 5:
print('NO')
else:
print('YES')
else:
if c == 5:
print('YES')
else:
print('NO')
else:
if b == 5:
if 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,210,931 |
s892751383 | p04043 | u804505290 | 1574793353 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 183 | A,B,C = map(int, input().split())
if A==7 and B==5 and C==5:
print("YES")
elif A==5 and B==5 and C==7:
print("YES")
elif A==5 and B==7 and C==5:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,932 |
s065059590 | p04043 | u774612753 | 1574789456 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 99 | 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,210,933 |
s166419971 | p04043 | u616188005 | 1574784870 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 219 | abc = list(map(int,input().split()))
f_count = 0
s_count = 0
for num in abc:
if num==5:
f_count += 1
elif num==7:
s_count += 1
if f_count==2 and s_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,210,934 |
s743016066 | p04043 | u102960641 | 1574782459 | 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,210,935 |
s967840597 | p04043 | u308650788 | 1574768470 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 167 | import math
line = input()
a, b, c = [int(x) for x in line.split()]
if (max(a, b, c) == 7 and min(a, b, c) == 5 and a + b + c == 17):
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,936 |
s481921970 | p04043 | u357949405 | 1574738465 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 101 | a, b, c = list(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,210,937 |
s719640701 | p04043 | u219197917 | 1574728591 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 64 | a=sorted(map(int,input().split()))
print("YNEOS"[a!=[5,5,7]::2]) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,938 |
s923963174 | p04043 | u239375815 | 1574722388 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 215 | a,b,c = map(int,input().split())
haiku = {5:2,7:1}
haiku[a] -=1
haiku[b] -=1
haiku[c] -=1
flag = True
for val in haiku.values():
if val==0:
continue
else:
flag = False
print('YES' if flag 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,210,939 |
s655951932 | p04043 | u242433343 | 1574715848 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 113 | a = input()
res = a.split(' ')
if res.count('5') == 2 and res.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,210,940 |
s697561452 | p04043 | u467831546 | 1574623414 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 96 | 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,210,941 |
s188294274 | p04043 | u088974156 | 1574616087 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 79 | n=input().split()
print("YES" if n.count("5")==2 and n.count("7")==1 else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,942 |
s955065893 | p04043 | u088974156 | 1574616069 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 79 | n=input().split()
print("YES" if n.count("5")==2 and n.count("7")==1 else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,943 |
s828575920 | p04043 | u088974156 | 1574615196 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 80 | n=input().split()
print("YES" if n.count("5")==2 and n.count("7")==1 else "NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,944 |
s725282534 | p04043 | u393253137 | 1574612182 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 79 | n=input().split()
print("YES" if n.count("5")==2 and n.count("7")==1 else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,945 |
s448461052 | p04043 | u393253137 | 1574612166 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 113 | a,b,c=map(int,input().split())
print("YES" if a==b==5 and c==7 or a==c==5 and b==7 or a==7 and b==c==5 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,210,946 |
s133436337 | p04043 | u609814378 | 1574561258 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 141 | A = list(map(int, input().split()))
Five=A.count(5)
Seven = A.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,210,947 |
s872585403 | p04043 | u771756419 | 1574531972 | Python | Python (3.4.3) | py | Accepted | 16 | 3060 | 264 | #入力受付
nums = input().split()
a = int(nums[0])
b = int(nums[1])
c = int(nums[2])
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,210,948 |
s706203356 | p04043 | u818218162 | 1574527773 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 119 | abc = [int(i) for i in 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,210,949 |
s638808156 | p04043 | u467307100 | 1574525640 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 90 | ABC=[int(x) for x in input().split()]
ABC.sort()
print('YES' if ABC == [5,5,7] else 'NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,950 |
s379744503 | p04043 | u467307100 | 1574525567 | Python | Python (3.4.3) | py | Accepted | 20 | 2940 | 86 | 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,210,951 |
s204121120 | p04043 | u495731174 | 1574489209 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 109 | in_ = input().split()
if in_.count('5') is 2 and in_.count('7') is 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,210,952 |
s471450264 | p04043 | u730768583 | 1574476584 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 406 | li = list(map(int,input().split()))
if li[0] == 7:
if li[1]==5 and li[2]==5:
print("YES")
else:
print("NO")
elif li[0] == 5:
if li[1]==7:
if li[2]==5:
print("YES")
else:
print("NO")
elif li[1] == 5:
if li[2]==7:
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,210,953 |
s786371305 | p04043 | u340947941 | 1574435526 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 187 | ##### 解けた #####
A,B,C=list(map(int,input().split(" ")))
if (A==5 and B==7 and C==5) or (A==7 and B==5 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,210,954 |
s585416873 | p04043 | u644972721 | 1574402346 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 118 | l = list(map(int,input().split()))
l.sort()
if l[0] == 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,210,955 |
s761654376 | p04043 | u675073679 | 1574388778 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 196 | #ABC042_A
def getlist():
return list(map(int, input().split()))
#処理内容
nums = getlist()
nums.sort()
if nums[0] == 5 and nums[1] == 5 and nums[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,210,956 |
s445208959 | p04043 | u675073679 | 1574388563 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 145 | #ABC042_A
nums = list(map(int,input().split()))
nums.sort()
if nums[0] == 5 and nums[1] == 5 and nums[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,210,957 |
s863294151 | p04043 | u768993705 | 1574340020 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 73 | s = input()
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,210,958 |
s513258388 | p04043 | u718706790 | 1574303636 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 113 | a = [5, 5, 7]
b = [int(c) for c in input().split()]
d = sorted(b)
if a == d:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,959 |
s689428753 | p04043 | u237888220 | 1574290701 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 193 | list_num = input().split()
fives = 0
sevens = 0
for i in list_num:
if i == "5":
fives += 1
if i == "7":
sevens += 1
if fives == 2 and sevens == 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,210,960 |
s442740510 | p04043 | u360053454 | 1574234289 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 106 | a, b, c = map(int, input().split())
if sorted((a, b, c)) == [5, 5, 7]:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,961 |
s596679780 | p04043 | u906024886 | 1574204027 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 94 | 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,210,962 |
s021758338 | p04043 | u211025746 | 1574189612 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 223 | N=input()
N=N.split()
sum=0
flag1=0
flag2=0
for i in N:
if(i=="5"):
flag1=1
if(i=="7"):
flag2=1
sum=sum+int(i)
if(sum == 17 and flag1 == 1 and flag2 == 1):
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,963 |
s745124218 | p04043 | u234186715 | 1574168154 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 114 | 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,210,964 |
s948731183 | p04043 | u094948011 | 1574136473 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 252 | A,B,C = map(int,input().split())
if A == 5 or A == 7:
if B == 5 or B == 7:
if C == 5 or C == 7:
if A + B + C == 17:
print('YES')
else:
print('NO')
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,210,965 |
s977383642 | p04043 | u836737505 | 1574132523 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 143 | a, b, c = map(int, input().split())
l = [a,b,c]
c5 = l.count(5)
c7 = l.count(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,210,966 |
s119788430 | p04043 | u864197622 | 1574128905 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 80 | print("YES" if sorted([int(a) for a in input().split()]) == [5, 5, 7] else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,967 |
s545049059 | p04043 | u729535891 | 1574048690 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 191 | a = [x for x in input().split()]
cnt_5 = 0
cnt_7 = 0
for x in a:
if x == '5':
cnt_5 += 1
elif x == '7':
cnt_7 += 1
print('YES' if cnt_5 == 2 and cnt_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,210,968 |
s635237855 | p04043 | u845937249 | 1574032578 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 115 | 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,210,969 |
s157849299 | p04043 | u894685221 | 1574025052 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 159 | i = list(map(int, input().split(" ")))
#print(s)
#print(s[1])
#import pdb; pdb.set_trace()
if [5, 5, 7] == sorted(i):
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,970 |
s265298658 | p04043 | u629560745 | 1574022955 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 113 | a = list(map(int, input().split()))
a.sort()
ans = [5, 5, 7]
if ans == 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,210,971 |
s457519454 | p04043 | u007263493 | 1573996907 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 148 | haiku = input()
lis_haiku = haiku.split()
if lis_haiku.count("5") == 2 and lis_haiku.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,210,972 |
s843199343 | p04043 | u840570107 | 1573979185 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 136 | haiku = input()
lis_haiku = haiku.split()
if lis_haiku.count("5") == 2 and lis_haiku.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,210,973 |
s258388668 | p04043 | u590595435 | 1573964974 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 174 | a, b, c = map(int, input().split())
haiku = [a, b, c]
count=0
for i in haiku:
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,210,974 |
s546749958 | p04043 | u047178225 | 1573930832 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 218 | A, B, C = [int(i) for i in input().split()]
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,210,975 |
s032273170 | p04043 | u672882146 | 1573658745 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 159 | a,b,c=map(int, input().split())
box = [a,b,c]
count1 = box.count(5)
count2 = box.count(7)
if count1 == 2 and count2 ==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,210,976 |
s921863023 | p04043 | u735069283 | 1573627328 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 117 | a,b,c=map(int,input().split())
print('YES' if a+b+c==17 and a*b*c==175 and max(a,b,c)==7 and min(a,b,c)==5 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,210,977 |
s494400261 | p04043 | u348012297 | 1573626967 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 137 | a, b, c = map(int, input().split())
lst = [a, b, c]
if lst.count(5) == 2 and lst.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,210,978 |
s124469541 | p04043 | u452015170 | 1573622540 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 114 | a, b,c = map(int, input().split())
list = sorted([a,b,c])
if [5,5,7] == list :
print("YES")
else :
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,979 |
s639009323 | p04043 | u052499405 | 1573620827 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 129 | a = [int(item) for item in 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,210,980 |
s606286407 | p04043 | u326775883 | 1573596153 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 111 | n = list(map(int, input().split()))
if n.count(5) == 2 and n.count(7) == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,981 |
s750627880 | p04043 | u728724337 | 1573561989 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 197 | A,B,C = (int(num) for num in input().split())
if A>B:
par1= A
A=B
B=par1
if B>C:
par2 = B
B=C
C=par2
if A==5 and B==5 and C==7:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,982 |
s938249237 | p04043 | u141786930 | 1573533845 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 181 | def main():
ABC = list(int(x) for x in input().split())
ans = 'NO'
if sorted(ABC)==[5, 5, 7]:
ans = 'YES'
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,210,983 |
s613972044 | p04043 | u279292103 | 1573492134 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 122 | 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,210,984 |
s593674400 | p04043 | u855421552 | 1573448594 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 100 | 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,210,985 |
s105881266 | p04043 | u090649502 | 1573421051 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 235 | a = input().split()
a = [int(a[i]) for i in range(3)]
if (a[0] == 7 and a[1] == 5 and a[2] == 5) \
or (a[0] == 5 and a[1] == 7 and a[2] == 5) \
or (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,210,986 |
s148034982 | p04043 | u124498235 | 1573420537 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 121 | 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,210,987 |
s381235659 | p04043 | u702018889 | 1573410933 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 275 | a,b,c=map(int,input().split())
if a==5 and c==5:
if b==7:
print("YES")
else:
print("NO")
else:
if a==5 and b==5 or b==5 and c==5:
if c==7 or a==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,210,988 |
s439253812 | p04043 | u914120277 | 1573363099 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 148 | a, b, c = (int(i) for i in input().split())
d=(a+b+c)/17
e=(max(a,b)-2+max(a,c)+max(b,c))/17
if(d==1 and e==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,210,989 |
s823946208 | p04043 | u053035261 | 1573359785 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 100 | a = [int(i) for i in input().split(" ")]
if [5,5,7] == sorted(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,210,990 |
s407152093 | p04043 | u080945673 | 1573309398 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 102 | 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,210,991 |
s235302352 | p04043 | u902786897 | 1573286175 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 90 | a=list(map(int,input().split()))
if sorted(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,210,992 |
s807135020 | p04043 | u779728630 | 1573281140 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 117 | 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,210,993 |
s048851717 | p04043 | u021759654 | 1573260272 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 110 | s = list(map(int, input().split()))
if s.count(7) == 1 and s.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,210,994 |
s034306942 | p04043 | u533039576 | 1573228420 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 213 | a, b, c = map(int, input().split())
if a + b + c == 17:
if (a == 5 and b == 5) or (b == 5 and c == 5) or (c == 5 and a == 5):
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,210,995 |
s100814261 | p04043 | u123745130 | 1573190565 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 74 | l=input().split()
print(["NO","YES"][l.count("7")==1 and l.count("5")==2]) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,996 |
s275099080 | p04043 | u633450100 | 1573182522 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 202 | A,B,C = [int(i) for i in input().split()]
list = [A,B,C]
go = 0
nana = 0
for i in list:
if i == 5:
go += 1
if i == 7:
nana += 1
if go == 2 and nana == 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,210,997 |
s216624197 | p04043 | u281303342 | 1573159430 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 162 | # python3 (3.4.3)
import sys
input = sys.stdin.readline
# main
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,210,998 |
s438430485 | p04043 | u434282696 | 1573158708 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 110 | l=[int(_) for _ in 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,210,999 |
s961092821 | p04043 | u050034744 | 1573155982 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 111 | data=input().split()
a=data.count("5")
b=data.count("7")
if a==2 and b==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,000 |
s726907386 | p04043 | u895536055 | 1573138880 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 88 | abc = sorted(list(map(int, 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,211,001 |
s608732626 | p04043 | u161318582 | 1573135087 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 85 | ls = sorted(list(map(int,input().split())))
print('YES' if ls == [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,002 |
s308235115 | p04043 | u161318582 | 1573134981 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 127 | ls = sorted(list(map(int,input().split())))
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,003 |
s893048165 | p04043 | u545666277 | 1573096097 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 301 | # -*- coding: utf-8 -*-
# スペース区切りの整数の入力
a, b, c = map(int, input().split())
#空のリスト作成
list = []
list.append(a)
list.append(b)
list.append(c)
#昇順ソート
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,211,004 |
s603551525 | p04043 | u391442102 | 1573070274 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 414 | a = list(map(int, input().split()))
A = a[0] + a[1]
if(A==10 or A==12):
if (a[0] == 7):
if(a[2] == 5 and a[1] == 5):
print('YES')
else:
print('NO')
elif (a[1] == 7):
if(a[2] == 5 and a[0] == 5):
print('YES')
else:
print('NO')
elif (a[2] == 7):
if(a[0] == 5 and a[1] == ... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,005 |
s277691532 | p04043 | u637551956 | 1573066352 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 156 | A,B,C = map(int, input().split())
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):
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,006 |
s467043677 | p04043 | u390883247 | 1573039727 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 140 | Data = list(map(int,input().split()))
Data.sort()
if Data[0] == 5 and Data[1] == 5 and Data[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,007 |
s608747278 | p04043 | u215018528 | 1573021872 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 119 | num_list = list(map(int, input().split()))
print('YES' if num_list.count(5) == 2 and num_list.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,008 |
s399994108 | p04043 | u663438907 | 1573008355 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 234 | ABClist = list(map(int, input().split()))
five = 0
seven = 0
for i in range(len(ABClist)):
if ABClist[i] == 5:
five += 1
if ABClist[i] == 7:
seven += 1
if five == 2 and seven == 1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,009 |
s739918419 | p04043 | u940061594 | 1572984953 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 244 | A,B,C = map(int,input().split())
S = A+B+C
if S == 17:
S = S - max(A, B, C)
if S == 10:
S = S - min(A, B, C)
if S == 5:
print("YES")
else:
pass
else:
pass
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,010 |
s214823067 | p04043 | u452269253 | 1572960380 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 160 | nums = [int(i) for i in input().split()]
if len(nums) == 3:
if nums.count(5) == 2 and nums.count(7) == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,011 |
s927746534 | p04043 | u221842690 | 1572934497 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 140 | abc_list = list(map(int, 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,211,012 |
s319886404 | p04043 | u754022296 | 1572910641 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 91 | if [5, 5, 7] == sorted(list(map(int, input().split()))):
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,013 |
s093455803 | p04043 | u319609701 | 1572905200 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 164 | # -*- coding:utf-8 -*-
#入力
a = list(map(int,input().split()))
five = a.count(5)
seven = a.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,014 |
s140571498 | p04043 | u799691369 | 1572901475 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 212 | args = []
args = input()
count_5 = 0
count_7 = 0
for i in args:
if i == '5':
count_5+=1
if i == '7':
count_7+=1
if count_5 == 2 and count_7 == 1:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,211,015 |
s455490086 | p04043 | u914330401 | 1572895518 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 129 | li = list(map(int, input().split()))
li.sort()
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,016 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.