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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s496927443 | p04043 | u419686324 | 1533175356 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 100 | from collections import Counter
print("YES" if Counter(input().split()) == Counter('575') else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,217 |
s032433371 | p04043 | u006657459 | 1533175343 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 171 | five = 0
seven = 0
for xi in input().split():
if xi == '5':
five += 1
elif xi == '7':
seven += 1
print('YES' if five == 2 and seven == 1 else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,218 |
s666889069 | p04043 | u574050882 | 1533168291 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 164 | t = input().split(" ")
a = 0
b = 0
for i in t:
if int(i) == 7:
a += 1
elif int(i) == 5:
b += 1
if a == 1 and b == 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,212,219 |
s546479275 | p04043 | u780364430 | 1533163737 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 101 | d = list(map(int, input().split()))
if sorted(d) == [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,212,220 |
s325412068 | p04043 | u004025573 | 1533090766 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 114 | a=list(map(int,input().split()))
a.sort()
if a[0]==5 and a[1]==5 and a[2]==7:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,221 |
s675032605 | p04043 | u434500430 | 1533058096 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 124 | A, B, C = map(int, input().split())
l = [A, B, C]
if l.count(5)==2 and l.count(7)==1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,222 |
s948954210 | p04043 | u816732092 | 1532897593 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 109 | l = list(map(int, input().split()))
l = sorted(l)
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,212,223 |
s375963887 | p04043 | u599547273 | 1532884767 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 92 | abc = list(map(int, input().split(" ")))
print("YES" if sorted(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,212,224 |
s042018294 | p04043 | u513081876 | 1532818093 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 186 | a, b, c = map(int,input().split())
if a == b == 5 and c==7:
print('YES')
elif a== c == 5 and b==7:
print('YES')
elif b == c == 5 and a==7:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,225 |
s443834910 | p04043 | u535827181 | 1532710287 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 98 | 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,212,226 |
s062101483 | p04043 | u052347048 | 1532659909 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 144 | num,num_two,num_three = map(int,input().split())
lis = [num,num_two,num_three]
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,212,227 |
s058203218 | p04043 | u718096172 | 1532432832 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 202 | ABC = [int(i) for i in input().split()]
count5 = 0
count7 = 0
ans = "NO"
for i in ABC:
if i == 5: count5 += 1
if i == 7: count7 += 1
if count5 == 2 and count7 == 1:
ans = "YES"
print(ans) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,228 |
s750158201 | p04043 | u317785246 | 1532300621 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 164 | x = 0
y = 0
for s in input().split():
if s == "5":
x += 1
elif s == "7":
y += 1
if x == 2 and y == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,229 |
s780782099 | p04043 | u562935282 | 1532245050 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 145 | arr = list(map(int, input().split()))
d = {
5:0,
7:0,
}
for x in arr:
d[x] += 1
print('YES' if d[5] == 2 and d[7] == 1 else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,230 |
s310381733 | p04043 | u636775911 | 1532033434 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 115 | #coding:utf-8
n1=[5,5,7]
n=[int(i) for i in input().split()]
n.sort()
if(n==n1):
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,231 |
s652072751 | p04043 | u136395536 | 1531915476 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 273 | A,B,C = (int(i) for i in input().split())
Addition = A+B+C
if Addition != 17:
haiku = False
else:
if ((A==5 or A==7) and (B==5 or B==7) and (C==5 or C==7)):
haiku = True
else:
haiku = False
if haiku:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,232 |
s149378261 | p04043 | u624475441 | 1531579519 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 59 | print(['NO','YES'][sorted(input().split())==['5','5','7']]) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,233 |
s107178198 | p04043 | u232852711 | 1531298711 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 128 | a, b, c = sorted(list(map(int, input().split())))
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,212,234 |
s464088202 | p04043 | u099566485 | 1531289242 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 95 | 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,212,235 |
s890836012 | p04043 | u333945892 | 1531248576 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 107 | A = list(map(int,input().split()))
if A.count(5) == 2 or A.count(7) == 1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,236 |
s613873463 | p04043 | u622255286 | 1531172271 | Python | Python (2.7.6) | py | Accepted | 11 | 2568 | 207 | a, b, c = map(int, raw_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,212,237 |
s339727978 | p04043 | u029315034 | 1531104469 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 293 | a, b, c = [int(i) for i in input().split()]
if a == 7:
if b == 5 and c == 5:
print("YES")
else:
print("NO")
elif a == 5:
if b == 5 and c == 7:
print("YES")
elif b == 7 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,212,238 |
s771776576 | p04043 | u967835038 | 1531077748 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 108 | a=list(map(int,input().split()))
if a.count(5)==2 and a.count(7)==1:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,239 |
s287738252 | p04043 | u627417051 | 1531063725 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 128 | A, B, C = list(map(int, input().split()))
X = [A, B, C]
if X.count(5) == 2 and X.count(7) == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,240 |
s047401598 | p04043 | u931636178 | 1530964297 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 242 | abc = list(map(int,input().split()))
five_count = 0
seven_count = 0
for i in abc:
if i == 5:
five_count += 1
elif i == 7:
seven_count += 1
if five_count == 2 and seven_count == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,241 |
s628901419 | p04043 | u572271833 | 1530946177 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 129 | line = list(map(int,input().split( )))
#print(line)
line.sort()
#print(line)
if line == [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,212,242 |
s840185629 | p04043 | u050428930 | 1530938020 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 94 | 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,212,243 |
s089823743 | p04043 | u785220618 | 1530918088 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 140 | # -*- coding: utf-8 -*-
A = list(map(int, input().split()))
if A.count(5) == 2 and A.count(7) == 1:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,244 |
s302019442 | p04043 | u760794812 | 1530869757 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 143 | List = [i for i in input().split()]
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,212,245 |
s932692796 | p04043 | u280512618 | 1530754815 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 120 | if __name__ == "__main__":
l = sorted(int(s) for s in input().split())
print("YES" if l == [5, 5, 7] else "NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,246 |
s757037555 | p04043 | u745514010 | 1530743558 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 119 | a,b,c=map(int,input().split())
if a+b+c==17 and max(a,b,c)==7 and min(a,b,c)==5:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,247 |
s320129036 | p04043 | u109256064 | 1530737729 | Python | Python (2.7.6) | py | Accepted | 10 | 2568 | 83 | print "YES" if [5, 5, 7] == sorted([int(x) for x in raw_input().split()]) else "NO" | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,248 |
s483063629 | p04043 | u064408584 | 1530675220 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 89 | 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,212,249 |
s527109884 | p04043 | u118605645 | 1530667960 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 205 | a, b, c = (int(i) for i in input().split())
if ((a == 7) and (b == 5) and (c == 5)) or ((a == 5) and (b == 7) and (c == 5)) or ((a == 5) and (b == 5) and (c == 7)):
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,250 |
s678486942 | p04043 | u588341295 | 1530632503 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 144 | # -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
A, B, C = map(int, input().split())
if A + B + C == 17:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,251 |
s756869365 | p04043 | u409064224 | 1530542535 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 86 | a = list(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,212,252 |
s039737219 | p04043 | u409064224 | 1530542455 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 113 | a = list(map(str,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,212,253 |
s032963981 | p04043 | u735891571 | 1530505379 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 128 | 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,212,254 |
s638835674 | p04043 | u944209426 | 1530311013 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 121 | abc=list(map(int, input().split()))
abc.sort()
if abc[0]==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,212,255 |
s973676665 | p04043 | u687553041 | 1530042121 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 203 | import sys
if __name__ == '__main__':
X = list(map(int, sys.stdin.readline().split()))
if X == [7, 5, 5] or X == [5, 7, 5] or X == [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,212,256 |
s136651856 | p04043 | u334066432 | 1529704047 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 286 | ans=list(map(int,input().split()))
dic={}
flg=0
for x in ans:
if(x!=5 and x!=7):
flg=-1
break
else:
dic[str(x)]=dic.get(str(x),0)+1
if(flg==-1):
print("NO")
else:
if(dic["5"]!=2 or dic["7"]!=1):
print("NO")
else:
print("YES")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,257 |
s006230056 | p04043 | u832039789 | 1529700604 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 66 | A=input()
print(['NO','YES'][(A.count('5')==2)*(A.count('7')==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,212,258 |
s352203061 | p04043 | u957084285 | 1529689954 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 92 | a = list(map(int, input().split()))
a.sort()
b = [5,7,5]
b.sort()
print(["NO","YES"][a==b])
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,259 |
s223973059 | p04043 | u333139319 | 1529602221 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 141 | s=[int(i) for i in input().split()]
#print(s,len(s))
if len(s)==3 and 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,212,260 |
s454217147 | p04043 | u108808596 | 1529553943 | Python | Python (2.7.6) | py | Accepted | 10 | 2568 | 96 | abc=map(int,raw_input().split())
abc.sort()
if abc == [5,5,7]:
print 'YES'
else:
print 'NO'
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,261 |
s286418287 | p04043 | u329709276 | 1529542413 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 107 | A,B,C = map(int,input().split())
print('YES' if A + B + C == 17 and (A + B == 10 or A + B ==12 ) else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,262 |
s508870844 | p04043 | u335295553 | 1529534659 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 93 | s = list(map(int, 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,212,263 |
s835562146 | p04043 | u268318377 | 1529358600 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 102 | 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,212,264 |
s390793115 | p04043 | u533679935 | 1529282627 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 78 | a,b,c=map(int,input().split())
print("YES" if 2 == (a,b,c).count(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,212,265 |
s922532908 | p04043 | u724892495 | 1529207235 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 105 | x = [int(i) for i in input().split()]
x.sort()
print("YES" if x[0]==5 and x[1]==5 and x[2]==7 else "NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,266 |
s118292573 | p04043 | u551373727 | 1529172082 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 99 | abc = list(map(int, input().split()))
if sorted(abc) == [5,5,7]:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,267 |
s610158353 | p04043 | u114954806 | 1529124011 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 145 | lst=list(map(int,input().split()))
so_lst=sorted(lst)
if so_lst[0]==5 and so_lst[1] == 5 and so_lst[2]==7:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,268 |
s198128012 | p04043 | u093562214 | 1528947211 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 183 | n = input().split()
count = 0
for i in n:
if int(i) == 5:
count += 5
elif int(i) == 7:
count += 7
if count == 17:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,269 |
s275161127 | p04043 | u205561862 | 1528911652 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 69 | l=input().split();list.sort(l);print(["NO","YES"][l==["5","5","7"]])
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,270 |
s903411580 | p04043 | u506086925 | 1528777387 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 124 | a, b, c = map(int,input().split())
sn = [a,b,c]
if sn.count(7)==1 and sn.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,212,271 |
s473115641 | p04043 | u403301154 | 1528773334 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 102 | a=list(input().split())
if a.count("5") == 2 and a.count("7") == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,272 |
s256486864 | p04043 | u755591593 | 1528744080 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 92 | a,b,c = map(int, input().split())
if a*b*c == 5*7*5:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,273 |
s710777335 | p04043 | u989011955 | 1528387662 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 254 | from collections import Counter
numlist=Counter(input().split())
if numlist.most_common()[0][0]=="5" and numlist.most_common()[0][1]==2:
if numlist.most_common()[1][0]=="7" and numlist.most_common()[1][1]==1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,274 |
s572538460 | p04043 | u652382244 | 1528336347 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 94 | arr=input().split()
arr.sort()
if arr == ['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,212,275 |
s150693669 | p04043 | u603234915 | 1528324070 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 196 | 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,212,276 |
s242189051 | p04043 | u894440853 | 1528290960 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 91 | s = input()
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,212,277 |
s070683340 | p04043 | u136090046 | 1528253910 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 133 | a,b,c = map(int, input().split())
sum = [a, b, c]
if sum.count(5) == 2 and sum.count(7) == 1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,278 |
s237429492 | p04043 | u136090046 | 1528253244 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 133 | a,b,c = map(int, input().split())
sum = [a, b, c]
if sum.count(5) == 2 and sum.count(7) == 1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,279 |
s930725397 | p04043 | u411278350 | 1528235467 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 114 | A, B, C = map(int, input().split())
if {A, B, C} == {5, 7} and A+B+C == 17:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,280 |
s291799349 | p04043 | u688925304 | 1528167538 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 252 | l = list(map(int, input().split()))
s = sum(l)
if(s == 17):
if(l[0]==5 or l[0]==7):
if(l[0]+ l[1] == 10 or l[0] +l[1] == 12):
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,212,281 |
s620544238 | p04043 | u136090046 | 1528164564 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 97 | array = input().split()
print("YES" if array.count("5") == 2 and array.count("7") == 1 else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,282 |
s930242561 | p04043 | u657913472 | 1528098960 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 66 | a,b,c=map(int,input().split())
print("YES" if a+b+c==17 else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,283 |
s776488797 | p04043 | u443569380 | 1528072053 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 163 | S = input()
count = 0
for i in S:
if i == "5":
count += 1
if i == "7":
count += 2
if count == 4:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,284 |
s492133714 | p04043 | u552122040 | 1527970014 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 129 | numlist = list(map(int, input().split()))
if numlist.count(5) == 2 and numlist.count(7) == 1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,285 |
s898902321 | p04043 | u641406334 | 1527904680 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 97 | A = [int(a) for a in 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,212,286 |
s515882347 | p04043 | u288087195 | 1527893547 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 214 | l = [int(i) for i in input().split()]
a = 0
b = 0
for i in range(len(l)):
if (l[i] == 5):
a = a + 1
elif (l[i]) == 7:
b = b + 1
else:
pass
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,212,287 |
s869411717 | p04043 | u112523623 | 1527545550 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 259 | if __name__ == '__main__':
tokens = map(int, input().split(' '))
five = 0
seven = 0
for t in tokens:
if t == 5:
five += 1
if t == 7:
seven += 1
print("YES" if (five == 2) and (seven == 1) else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,288 |
s286577994 | p04043 | u878935253 | 1527381897 | Python | Python (3.4.3) | py | Accepted | 19 | 3316 | 122 | a=[int(i) for i 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,212,289 |
s784199853 | p04043 | u878935253 | 1527381854 | Python | Python (3.4.3) | py | Accepted | 19 | 3316 | 122 | a=[int(i) for i 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,212,290 |
s935517651 | p04043 | u878935253 | 1527381833 | Python | Python (3.4.3) | py | Accepted | 19 | 3316 | 122 | a=[int(i) for i 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,212,291 |
s971180143 | p04043 | u863308734 | 1527225555 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 195 | a, b, c = map(int, input().split())
if a < b:
tmp = a
a = b
b = tmp
if a < c:
tmp = a
a = c
c = tmp
if a == 7 and b == c == 5:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,292 |
s178247631 | p04043 | u996672406 | 1527197780 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 99 | p = list(map(int, input().split()))
if sorted(p) == [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,212,293 |
s965017677 | p04043 | u807772568 | 1527197739 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 184 | da = list(map(int,input().split()))
a = 0
k = 0
for i in range(3):
if da[i] == 5:
a += 1
elif da[i] == 7:
k += 1
if a == 2 and k == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,294 |
s338199286 | p04043 | u611509859 | 1527197501 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 103 | gsg=list(map(int,input().split()))
gsg.sort()
if gsg == [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,212,295 |
s234898594 | p04043 | u356349468 | 1527025434 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 878 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# 1行の入力データを分割
def f(data):
for i in range(3):
if 0 > int(data[i]) or int(data[i]) > 10:
print("NO")
return 0
if int(data[0]) == 5:
if int(data[1]) == 5:
if int(data[2]) == 7: #[5, 5, 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,212,296 |
s204847379 | p04043 | u125666426 | 1527024584 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 98 | X = input().split()
if X.count('5') == 2 and X.count('7'):
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,297 |
s526068000 | p04043 | u125666426 | 1527024392 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 98 | X = input().split()
if X.count('5') == 2 and X.count('7'):
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,298 |
s954227590 | p04043 | u982762220 | 1527023470 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 227 | inputs = list(map(int, input().split()))
n5, n7 = 0, 0
flag = True
for e in inputs:
if e == 5:
n5 += 1
elif e == 7:
n7 += 1
else:
break
if flag and n5 == 2 and n7 == 1:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,299 |
s017690185 | p04043 | u982762220 | 1527023427 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 227 | inputs = list(map(int, input().split()))
n5, n7 = 0, 0
flag = True
for e in inputs:
if e == 5:
n5 += 1
elif e == 7:
n7 += 1
else:
break
if flag and n5 == 2 and n7 == 1:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,300 |
s029138134 | p04043 | u881612683 | 1527023418 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 98 | ls = input().strip().split()
print('YES' if (ls.count('7') == 1) and (ls.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,212,301 |
s587401032 | p04043 | u118642796 | 1526782383 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 100 | 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,212,302 |
s629871306 | p04043 | u461636820 | 1526716413 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 97 | a = list(map(int, 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,212,303 |
s711943108 | p04043 | u570612423 | 1526581409 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 322 | # -*- coding: utf-8 -*-
a,b,c = map(int,input().split())
f=0
s=0
if a==5:
f = f + 1
elif a == 7:
s = s + 1
else:
pass
if b==5:
f = f + 1
elif b == 7:
s = s + 1
else:
pass
if c==5:
f = f + 1
elif c == 7:
s = s + 1
else:
pass
if f==2 and s==1:
print("YES")
else:
print("NO... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,304 |
s059952742 | p04043 | u047535298 | 1526501564 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 119 | s = list(map(int, input().split()))
if(max(s)==7 and min(s)==5 and sum(s)==17):
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,305 |
s250964332 | p04043 | u399280934 | 1526004367 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 95 | a = input()
if a =="5 5 7" or a=="5 7 5" or a=="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,212,306 |
s410593875 | p04043 | u162159163 | 1525889889 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 106 | num = input().split()
if num.count('5') == 2 and num.count('7') == 1:
print('YES')
else :
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,307 |
s940249737 | p04043 | u162159163 | 1525889796 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 106 | num = input().split()
if num.count('5') == 2 and num.count('7') == 1:
print('YES')
else :
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,308 |
s481829189 | p04043 | u162159163 | 1525889502 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 106 | num = input().split()
if num.count('5') == 2 and num.count('7') == 1:
print('YES')
else :
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,309 |
s586090244 | p04043 | u675044240 | 1525786629 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 120 | a = list(map(str, input().split()))
if a.count("5") == 2 and a.count("7") == 1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,310 |
s825526539 | p04043 | u925726015 | 1525682289 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 95 | a = sorted(map(int, input().split()))
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,212,311 |
s362505139 | p04043 | u064246852 | 1525632067 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 163 | l = input().split()
a = 0
b = 0
for i in range(3):
if l[i] == "5":
a += 1
if l[i] == "7":
b += 1
print("YES" if a ==2 and b == 1 else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,312 |
s657578139 | p04043 | u634208461 | 1525357717 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 96 | 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,212,313 |
s764196867 | p04043 | u118019047 | 1525190974 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 127 | a,b,c = map(int,input().split())
mul = a*b*c
plus = a+b+c
if mul == 175 and plus == 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,212,314 |
s829467588 | p04043 | u327248573 | 1525053008 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 110 | a, b, c = map(int, input().split(' '))
if a*b*c == 175 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,212,315 |
s145034508 | p04043 | u221345507 | 1525030822 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 144 | A,B,C=map(int,input().split())
haiku_list=[A,B,C]
if haiku_list.count(5)==2 and haiku_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,212,316 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.