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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s877563311 | p04043 | u459150945 | 1588392771 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 121 | 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,210,117 |
s472482786 | p04043 | u121698457 | 1588386083 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 95 | lis = sorted(input().split())
if lis == ['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,118 |
s893424279 | p04043 | u770077083 | 1588384591 | Python | Python (3.4.3) | py | Accepted | 19 | 2940 | 67 | a,b,c=map(int,input().split())
print("YES" if a*b*c==175 else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,119 |
s388575454 | p04043 | u774598729 | 1588382633 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 99 | 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,120 |
s196789053 | p04043 | u770077083 | 1588375670 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 71 | a,b,c = map(int,input().split())
print("YES" if (a*b*c==175) else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,121 |
s877619020 | p04043 | u828139046 | 1588372296 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 201 | a,b,c = map(int,input().split())
if a == 5 and b == 5 and c == 7:
print('YES')
elif a == 5 and b == 7 and c == 5:
print('YES')
elif a == 7 and b == 5 and c == 5:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,122 |
s240093008 | p04043 | u943057856 | 1588362029 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 79 | l=input().split()
print("YES" if l.count("5")==2 and l.count("7")==1 else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,123 |
s423509879 | p04043 | u989306199 | 1588356788 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 96 | a = sorted(list(map(int, input().split())))
print('YES' if a[0]==a[1]==5 and a[2]==7 else 'NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,124 |
s444347807 | p04043 | u085530099 | 1588350690 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 173 | x = input().split()
five = 0
seven = 0
for i in x:
if i == '5':
five += 1
if 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,210,125 |
s823703214 | p04043 | u449514925 | 1588342535 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 233 | # -*- coding: utf-8 -*-
# スペース区切りの整数の入力
A, B, C = map(int, input().split())
# 文字列の入力
#s = input()
#print(s[0:K-1]+s[K-1].lower()+s[K:N])
if A*B*C == 5*5*7:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,126 |
s750775434 | p04043 | u539768961 | 1588307270 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 173 | A,B,C = map(int, input().split())
if A+B+C==17:
if A+B==10 and A==B:
print("YES")
elif A+B==12 and A!=B:
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,127 |
s277656305 | p04043 | u215414447 | 1588301984 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 192 | a,b,c=(int(x) for x in input().split())
count7=0
if a==7:
count7=count7+1
if b==7:
count7=count7+1
if c==7:
count7=count7+1
if count7==1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,128 |
s923068170 | p04043 | u144029820 | 1588293233 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 148 | a=list(map(int,input().split()))
#a=[map(int,input().split())]
#print(a)
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,129 |
s072941743 | p04043 | u277641173 | 1588261533 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 149 | a,b,c=map(int,input().split())
if (a==5 and b==5 and c==7) or(a==5 and c==5 and b==7) or (c==5 and b==5 and a==7):
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,130 |
s812955428 | p04043 | u244737745 | 1588231274 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 125 | #2020-04-30
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,131 |
s758929225 | p04043 | u767821815 | 1588216974 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 130 | numbers = [int(x) for x in input().split()]
if numbers.count(5) == 2 and numbers.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,132 |
s554985151 | p04043 | u969850098 | 1588205115 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 119 | 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,133 |
s738995849 | p04043 | u726872801 | 1588192138 | Python | Python (3.4.3) | py | Accepted | 24 | 3572 | 345 | import sys
import heapq, math
from itertools import zip_longest, permutations, combinations, combinations_with_replacement
from itertools import accumulate, dropwhile, takewhile, groupby
from functools import lru_cache
from copy import deepcopy
A, B, C = sorted(list(map(int, input().split())))
print("YES" if 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,210,134 |
s829245746 | p04043 | u417959834 | 1588187865 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 168 | #! python3
def main():
s = [int(i) for i in input().split()]
s.sort()
if s == [5, 5, 7]:
print("YES")
else:
print("NO")
main() | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,135 |
s880803756 | p04043 | u029000441 | 1588184829 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 699 | import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**7)
from collections import Counter, deque
from collections import defaultdict
from itertools import combinations, permutations, accumulate, groupby, product
from bisect import bisect_left,bisect_right
from heapq import heapify, heappop, heappush
from math ... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,136 |
s372421546 | p04043 | u272522520 | 1588173496 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 157 | s = input().split()
s5 = s.count("5")
s7 = s.count("7")
if s5 == 2:
if s7 == 1:
print("YES")
else:
print("NO")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,137 |
s057253370 | p04043 | u057964173 | 1588129580 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 153 | def resolve():
l=list(map(int, input().split()))
if l.count(5)==2 and l.count(7)==1:
print('YES')
else:
print('NO')
resolve() | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,138 |
s612808154 | p04043 | u057964173 | 1588129489 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 145 | def resolve():
l=list(map(int, input().split()))
l.sort()
if l==[5,5,7]:
print('YES')
else:
print('NO')
resolve() | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,139 |
s267628456 | p04043 | u057964173 | 1588124281 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 232 | def resolve():
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')
resolve() | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,140 |
s864475645 | p04043 | u638648846 | 1588113701 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 183 | a,b,c=(int(x)for x in 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,210,141 |
s590757316 | p04043 | u477448615 | 1588067700 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 120 | l = list(map(int,input().split()))
if l == [5,7,5] or l == [5,5,7] or l == [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,210,142 |
s247650601 | p04043 | u816631826 | 1588058982 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 144 | a, b, c = map(int, input().split())
if (a == 5 and b == 5) or (a == 5 and c == 5) or (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,143 |
s838074600 | p04043 | u600690250 | 1588058943 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 144 | a, b, c = map(int, input().split())
if (a == 5 and b == 5) or (a == 5 and c == 5) or (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,144 |
s828589789 | p04043 | u502731482 | 1588041992 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 106 | nums = list(map(int, input().split()))
print("YES" if nums.count(5) == 2 and nums.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,145 |
s111974938 | p04043 | u095094246 | 1588036729 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 106 | t=sorted(map(int, input().split()))
if t[0]==5 and t[1]==5 and t[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,146 |
s601645600 | p04043 | u309716323 | 1588031230 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 285 | def read_int():
return int(input().strip())
def read_ints():
return list(map(int, input().strip().split(' ')))
def solve():
A, B, C = read_ints()
if sorted([A, B, C]) == [5, 5, 7]:
return 'YES'
return 'NO'
if __name__ == '__main__':
print(solve()) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,147 |
s734746424 | p04043 | u103178403 | 1588014203 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 81 | a=[5,5,7]
b=sorted(list(map(int,input().split())))
print("YES" if a==b 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,148 |
s761168843 | p04043 | u697758384 | 1588014130 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 78 | x=list(map(int,input().split()))
x.sort()
print("YES" if x==[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,149 |
s192469865 | p04043 | u199459731 | 1588005437 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 225 | words = list(input().split())
flag = False
if('5' in words):
words.remove('5')
if('7' in words):
words.remove('7')
if('5' in words):
words.remove('5')
flag =True
if(flag==True):
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,150 |
s623130421 | p04043 | u277312083 | 1587999671 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 125 | n = sorted(list(map(int, input().split())))
if n[0] == 5 and n[1] == 5 and n[2] == 7:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,151 |
s127902578 | p04043 | u214462690 | 1587996227 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 277 | # coding: utf-8
# Your code here!
line = input().split()
count = 0
for i in line:
if i == "5":
count += 1
elif i == "7":
count += 2
else:
print("NO")
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,210,152 |
s309898525 | p04043 | u188745744 | 1587993929 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 108 | 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,210,153 |
s657888081 | p04043 | u492447501 | 1587961488 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 104 | *A, = map(int, input().split())
if A.count(5)==2 and A.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,210,154 |
s547359107 | p04043 | u940533000 | 1587953941 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 173 | 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,155 |
s836354155 | p04043 | u161857931 | 1587944204 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 279 | a, b, c = map(int,input().split())
at = 0
bt = 0
ct = 0
if a == 5 :
at += 1
elif a == 7 :
at += 10
if b == 5 :
bt += 1
elif b == 7 :
bt += 10
if c == 5 :
ct += 1
elif c == 7 :
ct += 10
if at + bt + ct == 12 :
print("YES")
else :
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,156 |
s356940569 | p04043 | u227085629 | 1587941746 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 123 | a,b,c = map(int,input().split())
if a+b+c == 17 and min(a,b,c) == 5 and max(a,b,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,157 |
s980829567 | p04043 | u236317938 | 1587940314 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 113 | a, b, c = input().split()
if (a+b+c).count('5')==2 and (a+b+c).count('7')==1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,158 |
s596583258 | p04043 | u830162518 | 1587938276 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 99 | a,b,c=map(int,input().split())
M=[a,b,c]
M.sort()
if M==[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,159 |
s872676909 | p04043 | u047485390 | 1587936998 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 210 | lima = 0
tujuh = 0
a = [int(tmp) for tmp in input().split()]
for i in range(3) :
if a[i] == 5 :
lima += 1
elif a[i] == 7 :
tujuh += 1
if lima==2 and tujuh == 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,160 |
s618037754 | p04043 | u047485390 | 1587936233 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 210 | lima = 0
tujuh = 0
a = [int(tmp) for tmp in input().split()]
for i in range(3) :
if a[i] == 5 :
lima += 1
elif a[i] == 7 :
tujuh += 1
if lima==2 and tujuh == 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,161 |
s931896920 | p04043 | u816265237 | 1587931952 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 90 | ln = input().split(' ')
if sorted(ln) == ['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,162 |
s441777253 | p04043 | u934442292 | 1587921083 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 256 | import sys
input = sys.stdin.readline
def main():
A, B, C = map(int, input().split())
l = [A, B, C]
l.sort()
if l[0] == l[1] == 5 and l[2] == 7:
print("YES")
else:
print("NO")
if __name__ == "__main__":
main()
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,163 |
s037774651 | p04043 | u156383602 | 1587906983 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 110 | a=[int(i) for i in 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,164 |
s876505082 | p04043 | u914797917 | 1587906701 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 90 | 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,210,165 |
s484649018 | p04043 | u486814557 | 1587884891 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 89 | if sorted(map(int, input().split())) == [5, 5, 7]:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,166 |
s077128366 | p04043 | u486814557 | 1587883003 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 153 | a,b,c=map(int,input().split())
n=[a,b,c]
m=len([i for i in n if i==5])
p=len([i for i in n if i==7])
if m==2 and p==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,167 |
s722005936 | p04043 | u486814557 | 1587880286 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 90 | L = sorted(map(int, input().split()))
ans = 'YES' if L == [5, 5, 7] else '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,168 |
s178325677 | p04043 | u724687935 | 1587872657 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 90 | L = sorted(map(int, input().split()))
ans = 'YES' if L == [5, 5, 7] else '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,169 |
s662166692 | p04043 | u941794834 | 1587867992 | 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,210,170 |
s299793256 | p04043 | u032484849 | 1587851816 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 155 | 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,171 |
s262154468 | p04043 | u571832343 | 1587785269 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 95 | a = list((int(x) for x in 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,210,172 |
s371580876 | p04043 | u308918401 | 1587780973 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 150 | a,b,c=map(int,input().split())
if (a==7 and b==5 and c==5) or (a==5 and b==7 and c==5) or (a==5 and b==5 and c==7):
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,173 |
s128310294 | p04043 | u115877451 | 1587761622 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 153 | a,b,c=map(int,input().split())
n=[a,b,c]
m=len([i for i in n if i==5])
p=len([i for i in n if i==7])
if m==2 and p==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,174 |
s191318943 | p04043 | u380534719 | 1587756213 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 84 | s=input()
if s.count('5')==2 and s.count('7')==1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,175 |
s947082185 | p04043 | u698919163 | 1587755250 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 120 | num = list(map(int,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,210,176 |
s988026721 | p04043 | u189479417 | 1587752548 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 99 | L = list(map(int,input().split()))
L.sort()
if L == [5,5,7]:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,177 |
s929313784 | p04043 | u760391419 | 1587751901 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 79 | C = input().split().count
print("YES" if C("5") == 2 and C("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,178 |
s887220024 | p04043 | u744054041 | 1587745032 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 164 | def main(input: list):
possible575 = sorted(input) == [5, 5, 7]
print("YES" if possible575 else "NO")
input = list(map(int, input().split()))
main(input)
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,179 |
s769642592 | p04043 | u586206420 | 1587731400 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 130 | s = list(map(int, input().split()))
if s[0] + s[1] + s[2] == 17 and s[0] * s[1] * s[2] == 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,180 |
s299694236 | p04043 | u254221913 | 1587693426 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 215 | li = list(map(int, input().split()))
count5 = 0
count7 = 0
for i in li:
if i == 5:
count5 += 1
elif i == 7:
count7 += 1
if count5 == 2 and count7 == 1:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,181 |
s593148719 | p04043 | u235066013 | 1587681224 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 109 | a,b,c,=map(int,input().split())
list=[a,b,c]
list.sort()
if list==[5,5,7]:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,182 |
s252592750 | p04043 | u235066013 | 1587681107 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 179 | a,b,c,=map(int,input().split())
list1=[a,b,c]
if list1==[5,7,5]:
print("YES")
elif list1==[7,5,5]:
print("YES")
elif list1==[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,183 |
s205635811 | p04043 | u437215432 | 1587658741 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 184 | a, b, c = map(int, input().split())
Min = min(a, b, c)
Max = max(a, b, c)
other = a + b + c - Min - Max
if Min == 5 and Max == 7 and other == 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,184 |
s019990224 | p04043 | u798260206 | 1587656318 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 207 | 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,210,185 |
s198107691 | p04043 | u896741788 | 1587651816 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 57 | print("YES"if input()in("5 5 7","5 7 5","7 5 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,186 |
s120178520 | p04043 | u443577878 | 1587650317 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 189 | A,B,C=map(int,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,187 |
s221760881 | p04043 | u655622461 | 1587649086 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 160 | phrases = input().split()
if phrases.count('5') == 2:
if phrases.count('7') == 1:
print('YES')
else:
print('NO')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,188 |
s512873194 | p04043 | u581603131 | 1587647239 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 119 | list = list(map(int, input().split()))
if list.count(5)==2 and list.count(7)==1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,189 |
s656770459 | p04043 | u588785393 | 1587636440 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 250 | a, b, c = map(int, input().split())
if a == 7:
if b == 5 and c == 5:
print("YES")
else:
print("NO")
elif b == 7:
if a == 5 and c == 5:
print("YES")
else:
print("NO")
elif c == 7:
if b == 5 and a == 5:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,190 |
s310970562 | p04043 | u769411997 | 1587595402 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 213 | 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,210,191 |
s835854973 | p04043 | u614984376 | 1587592712 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 179 | a,b,c,=map(int,input().split())
list1=[a,b,c]
if list1==[5,7,5]:
print("YES")
elif list1==[7,5,5]:
print("YES")
elif list1==[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,192 |
s355279348 | p04043 | u863442865 | 1587541503 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 648 | def main():
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**7)
from collections import Counter, deque
#from collections import defaultdict
from itertools import combinations, permutations, accumulate, groupby, product
from bisect import bisect_left,bisect_right
from heapq... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,193 |
s292554077 | p04043 | u550535134 | 1587540484 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 79 | A = list(input())
print("YES" if A.count("5")==2 and A.count("7")==1 else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,194 |
s620512694 | p04043 | u111263303 | 1587534711 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 190 | A,B,C = map(int,input().split())
if A==5 and B==5 and C==7:
print("YES")
elif A==5 and C==5 and B==7:
print("YES")
elif C==5 and B==5 and A==7:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,195 |
s048725894 | p04043 | u359021664 | 1587519489 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 87 | i=input()
if i=="5 7 5" or i=="7 5 5" or i=="5 5 7":
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,196 |
s838399503 | p04043 | u326943507 | 1587517132 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 85 | A,B,C=map(int,input().split())
if A*B*C==(5*5*7) :
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,197 |
s718999854 | p04043 | u842696304 | 1587508526 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 96 | A = input()
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,198 |
s016597213 | p04043 | u842696304 | 1587508417 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 96 | A = input()
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,199 |
s173148435 | p04043 | u842696304 | 1587508227 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 96 | A = input()
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,200 |
s515038936 | p04043 | u519923151 | 1587491414 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 162 | Alist = [int(x) for x in input().split()]
newlist = sorted(Alist)
if newlist[0] ==5 and newlist[1] ==5 and newlist[2] ==7:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,201 |
s056075151 | p04043 | u901598613 | 1587440402 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 170 | l=list(map(int,input().split()))
go=0
na=0
for i in l:
if i==5:
go+=1
elif i==7:
na+=1
if go==2 and na==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,202 |
s639973287 | p04043 | u970809473 | 1587439477 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 86 | 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,210,203 |
s873714984 | p04043 | u901598613 | 1587438753 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 170 | l=list(map(int,input().split()))
go=0
na=0
for i in l:
if i==5:
go+=1
elif i==7:
na+=1
if go==2 and na==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,204 |
s215121443 | p04043 | u951289777 | 1587424858 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 137 | num_list = list(map(int, input().split()))
if num_list.count(5) == 2 and num_list.count(7) == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,205 |
s980403695 | p04043 | u081784777 | 1587408324 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 139 | arr = list(map(int, input().split()))
arr = sorted(arr)
if arr[0] == 5 and arr[1] == 5 and arr[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,206 |
s639680452 | p04043 | u810978770 | 1587396137 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 115 | 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,207 |
s290634493 | p04043 | u171803978 | 1587367785 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 171 | array = list(map(int, input().split()))
array.sort()
if array[0] == 5 and array[1] == 5 and array[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,208 |
s760121891 | p04043 | u141419468 | 1587347565 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 212 | a, b ,c = map(int, input().split())
if a == 5 and b == 5 and c == 7:
print("YES")
elif a == 5 and b == 7 and c == 5:
print("YES")
elif a == 7 and b == 5 and c == 5:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,209 |
s961259998 | p04043 | u538537141 | 1587338872 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 220 | N =list(map(int,input().split()))
if N[0]==7 and N[1]==5 and N[2]==5:
print("YES")
elif N[0]==5 and N[1]==7 and N[2]==5:
print("YES")
elif N[0]==5 and N[1]==5 and N[2]==7:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,210 |
s669716903 | p04043 | u040053163 | 1587336836 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 79 | s=input().split()
print('YES' if s.count('5')==2 and s.count('7')==1 else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,210,211 |
s369211732 | p04043 | u951289777 | 1587334012 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 106 | text = input()
if text.count('5') == 2 and text.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,212 |
s886287336 | p04043 | u557096818 | 1587333313 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 119 | abc = list(map(int,input().split()))
if 5 in abc and 7 in abc 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,213 |
s149423618 | p04043 | u349444371 | 1587320603 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 115 | a,b,c=map(int,input().split())
l=[a,b,c]
if set(l)=={5,7} 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,214 |
s752364882 | p04043 | u252964975 | 1587302756 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 127 | a,b,c=map(int, input().split())
if sum([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,210,215 |
s162310076 | p04043 | u620800450 | 1587257237 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 154 | x=list(map(int,input().split()))
if 5 in x:
x.remove(5)
if 5 in x:
x.remove(5)
if 7 in x:
x.remove(7)
if x==[]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,216 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.