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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s734256530 | p04043 | u506422818 | 1598756114 | Python | Python (3.8.2) | py | Accepted | 25 | 8856 | 93 | a = input()
if a.count("7") ==1 and a.count("5") == 2:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,517 |
s608425357 | p04043 | u705418271 | 1598733786 | Python | Python (3.8.2) | py | Accepted | 24 | 9064 | 162 | 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,209,518 |
s756835759 | p04043 | u672316981 | 1598722585 | Python | Python (3.8.2) | py | Accepted | 28 | 9172 | 167 | abc = list(map(int, input().split()))
abc.sort()
if abc[0] == abc[1] == 5:
if abc[2] == 7:
print('YES')
else:
print('NO')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,519 |
s506013978 | p04043 | u600673553 | 1598718637 | Python | Python (3.8.2) | py | Accepted | 27 | 9176 | 143 | a,b,c = map(int,input().split())
A = [a,b,c]
B = [a,b,c]
A = A.count(5)
B = B.count(7)
if A == 2 and B == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,520 |
s719241501 | p04043 | u485349322 | 1598666022 | Python | Python (3.8.2) | py | Accepted | 25 | 8996 | 94 | A,B,C=map(int,input().split())
if sorted([A,B,C])==[5,5,7]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,521 |
s617098745 | p04043 | u439881679 | 1598630629 | Python | Python (3.8.2) | py | Accepted | 24 | 9288 | 2,962 | # bsdk idhar kya dekhne ko aaya hai, khud kr!!!
# import math
# from itertools import *
# import random
# import calendar
# import datetime
# import webbrowser
# f = open("input.txt", 'r')
# g = open("output.txt", 'w')
# n, m = map(int, f.readline().split())
#!/usr/bin/env python
from __future__ import division, prin... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,522 |
s788937697 | p04043 | u708211626 | 1598531257 | Python | Python (3.8.2) | py | Accepted | 27 | 8984 | 236 | import sys
a=list(map(int,input().split()))
s=0
f=0
for i in range(3):
s+=a[i]
if s!=17:
print('NO')
sys.exit()
else:
for t in range(3):
if a[t]==5:
f+=1
if f==2:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,523 |
s268697409 | p04043 | u297399512 | 1598505004 | Python | Python (3.8.2) | py | Accepted | 23 | 9140 | 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,209,524 |
s836994326 | p04043 | u018679195 | 1598504198 | Python | Python (3.8.2) | py | Accepted | 24 | 9152 | 122 | a=[0]*11
x=list(map(int,input().split()))
for i in x:
a[i] += 1
if(a[5]==2 and a[7]==1):
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,525 |
s181483764 | p04043 | u205042576 | 1598497169 | Python | Python (3.8.2) | py | Accepted | 27 | 9124 | 128 | L = list(map(int, input().split()))
L.sort()
if L[0] == 5 and L[2] == 7 and L[1] == 5:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,526 |
s895777273 | p04043 | u225084815 | 1598492581 | Python | PyPy3 (7.3.0) | py | Accepted | 99 | 74616 | 448 | import bisect,collections,copy,heapq,itertools,math,string
import sys
def S(): return sys.stdin.readline().rstrip()
def M(): return map(int,sys.stdin.readline().rstrip().split())
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def LS(): return lis... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,527 |
s282325122 | p04043 | u164776089 | 1598488104 | Python | Python (3.8.2) | py | Accepted | 23 | 9164 | 126 | a = list(map(int,input().split()))
b = a.count(5)
c = a.count(7)
if b == 2 and c == 1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,528 |
s230264507 | p04043 | u543173218 | 1598471054 | Python | Python (3.8.2) | py | Accepted | 28 | 8976 | 109 | H = list(map(int,input().split()))
if H.count(5) == 2 and H.count(7) == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,529 |
s047131100 | p04043 | u559313689 | 1598404920 | Python | Python (3.8.2) | py | Accepted | 30 | 9104 | 84 | A,B,C=map(int,input().split())
if A+B+C==17:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,530 |
s966496540 | p04043 | u481250941 | 1598389106 | Python | Python (3.8.2) | py | Accepted | 72 | 16020 | 876 | #
# abc042 a
#
import sys
from io import StringIO
import unittest
class TestClass(unittest.TestCase):
def assertIO(self, input, output):
stdout, stdin = sys.stdout, sys.stdin
sys.stdout, sys.stdin = StringIO(), StringIO(input)
resolve()
sys.stdout.seek(0)
out = sys.stdout.... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,531 |
s571653993 | p04043 | u120651703 | 1598380133 | Python | Python (3.8.2) | py | Accepted | 23 | 9032 | 160 | num_list = [int(x) for x in input().split()]
if num_list == [5, 5, 7] or num_list == [5, 7, 5] or num_list == [7, 5, 5]:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,532 |
s835514007 | p04043 | u188827677 | 1598355475 | Python | Python (3.8.2) | py | Accepted | 20 | 8956 | 112 | abc = list(map(int, input().split()))
if abc.count(5) == 2 and abc.count(7) == 1: print("YES")
else: print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,533 |
s843690664 | p04043 | u558059388 | 1598327915 | Python | Python (3.8.2) | py | Accepted | 30 | 9108 | 200 | a,b,c = (int(x) for x in input().split())
if a==7 and b==5 and c==5:
print('YES')
elif a==5 and b==7 and c==5:
print('YES')
elif a==5 and b==5 and c==7:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,534 |
s601061580 | p04043 | u063596417 | 1598327710 | Python | PyPy3 (7.3.0) | py | Accepted | 91 | 61540 | 147 | def main():
abc = ''.join(sorted(input().replace(' ', '')))
print('YES' if abc == '557' else 'NO')
if __name__ == '__main__':
main()
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,535 |
s479471569 | p04043 | u063596417 | 1598327679 | Python | Python (3.8.2) | py | Accepted | 27 | 8956 | 147 | def main():
abc = ''.join(sorted(input().replace(' ', '')))
print('YES' if abc == '557' else 'NO')
if __name__ == '__main__':
main()
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,536 |
s451378002 | p04043 | u510331904 | 1598321428 | Python | Python (3.8.2) | py | Accepted | 24 | 9076 | 126 | #!/usr/bin/env python3
l = sorted(list(map(int, input().split())))
if l == [5, 5, 7]:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,537 |
s918347551 | p04043 | u510331904 | 1598321316 | Python | Python (3.8.2) | py | Accepted | 26 | 9136 | 126 | #!/usr/bin/env python3
l = sorted(list(map(int, input().split())))
if l == [5, 5, 7]:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,538 |
s434677661 | p04043 | u863723142 | 1598316643 | Python | Python (3.8.2) | py | Accepted | 26 | 8912 | 200 | str_line = input().split(" ")
num_line = [int(n) for n in str_line]
num_line.sort()
#print(num_line)
if (num_line[0]==5)and(num_line[1]==5)and(num_line[2]==7):
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,539 |
s573071737 | p04043 | u244836567 | 1598315075 | Python | Python (3.8.2) | py | Accepted | 25 | 8972 | 114 | a,b,c=input().split()
ls=[a,b,c]
ls.sort()
if ls[0]==ls[1]=="5" and ls[2]=="7":
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,540 |
s625278262 | p04043 | u666550725 | 1598307966 | Python | PyPy3 (7.3.0) | py | Accepted | 68 | 61772 | 134 | A, B, C = map(int, input().split())
if min(A, B, C) == 5 and max(A, B, C) == 7 and A + B + C == 17:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,541 |
s218255690 | p04043 | u614917104 | 1598291446 | Python | Python (3.8.2) | py | Accepted | 25 | 9064 | 359 | A,B,C = map(int,input().split())
if A == 5:
if B == 5:
if C == 7:
print("YES")
else:
print("NO")
elif B == 7:
if C == 5:
print("YES")
else:
print("NO")
else:
print("NO")
elif A == 7:
if B == 5 and C == 5:
pri... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,542 |
s788979344 | p04043 | u796563423 | 1598263183 | Python | PyPy3 (7.3.0) | py | Accepted | 60 | 61856 | 107 | a=list(map(int,input().split()))
if a.count(7)==1 and a.count(5)==2:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,543 |
s971575413 | p04043 | u796563423 | 1598263098 | Python | PyPy3 (7.3.0) | py | Accepted | 61 | 61704 | 107 | a=list(map(int,input().split()))
if a.count(7)==1 and a.count(5)==2:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,544 |
s154288992 | p04043 | u997134361 | 1598212246 | Python | Python (3.8.2) | py | Accepted | 24 | 9012 | 210 | a = list(map(int, input().split()))
success_cases = [(a[0], a[1], a[2]), (a[1], a[2], a[0]), (a[2], a[0], a[1])]
for c in success_cases:
if c == (5,7,5):
print("YES")
exit(0)
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,545 |
s362375753 | p04043 | u668271522 | 1598211417 | Python | Python (3.8.2) | py | Accepted | 31 | 8984 | 83 | 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,209,546 |
s526615373 | p04043 | u432453907 | 1598208989 | Python | Python (3.8.2) | py | Accepted | 26 | 9088 | 102 | x=list(map(int,input().split()))
ans="NO"
if x.count(7)==1 and x.count(5)==2:
ans="YES"
print(ans) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,547 |
s459024783 | p04043 | u658181634 | 1598207735 | Python | Python (3.8.2) | py | Accepted | 28 | 9084 | 138 | arr = list(map(lambda x: int(x), input().split(" ")))
if arr.count(5) == 2 and arr.count(7) == 1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,548 |
s331680246 | p04043 | u658181634 | 1598202650 | Python | Python (3.8.2) | py | Accepted | 23 | 9016 | 138 | arr = list(map(lambda x: int(x), input().split(" ")))
if arr.count(5) == 2 and arr.count(7) == 1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,549 |
s445155498 | p04043 | u642528832 | 1598154257 | Python | Python (3.8.2) | py | Accepted | 27 | 9076 | 117 | ABC = list(map(int,input().split()))
if ABC.count(5)==2 and ABC.count(7)==1:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,550 |
s400516817 | p04043 | u862654689 | 1598142529 | Python | Python (3.8.2) | py | Accepted | 33 | 9040 | 124 | ls = [int(s) for s in input().split(" ")]
prels = [[5,7,5],[5,5,7],[7,5,5]]
if ls in prels:
print("YES")
else :print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,551 |
s679341198 | p04043 | u510331904 | 1598136928 | Python | Python (3.8.2) | py | Accepted | 23 | 9008 | 126 | #!/usr/bin/env python3
l = sorted(list(map(int, input().split())))
if l == [5, 5, 7]:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,552 |
s987825104 | p04043 | u787059958 | 1598135608 | Python | Python (3.8.2) | py | Accepted | 21 | 9064 | 170 | ans = []
A, B, C = map(int, input().split())
ans.append(A)
ans.append(B)
ans.append(C)
if ans.count(5) == 2 and ans.count(7) == 1:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,553 |
s648740838 | p04043 | u653837719 | 1598132569 | Python | PyPy3 (7.3.0) | py | Accepted | 64 | 61796 | 115 | l = list(map(int, input().split()))
if l.count(5) == 2 and l.count(7) == 1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,554 |
s180143803 | p04043 | u843768197 | 1598120227 | Python | Python (3.8.2) | py | Accepted | 31 | 8860 | 133 | l = list(map(int, input().split()))
l.sort(reverse=True)
if l[0] == 7 and l[1] == 5 and l[2] == 5:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,555 |
s795816084 | p04043 | u955248595 | 1598083981 | Python | Python (3.8.2) | py | Accepted | 24 | 8960 | 76 | L = input().split()
print(['NO','YES'][L.count('5')==2 and L.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,209,556 |
s302504960 | p04043 | u249987458 | 1598052420 | Python | Python (3.8.2) | py | Accepted | 24 | 9104 | 120 | abc = list(map(int, input().split()))
if abc.count(5) == 2 and abc.count(7) == 1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,557 |
s418028277 | p04043 | u940652437 | 1598051238 | Python | Python (3.8.2) | py | Accepted | 26 | 9052 | 125 | a,b,c =map(int,input().split() )
d = a + b + c
e = a * b * c
if(d == 17 and e == 175):
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,558 |
s985870870 | p04043 | u581619372 | 1597980351 | Python | Python (3.8.2) | py | Accepted | 32 | 9088 | 113 | li = list(map(int, input().split()))
if li.count(5) == 2 and li.count(7) == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,559 |
s664008809 | p04043 | u070201429 | 1597887001 | Python | PyPy3 (7.3.0) | py | Accepted | 63 | 61788 | 102 | l = list(map(int, input().split()))
l.sort()
if l == [5, 5, 7]:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,560 |
s086186286 | p04043 | u051237313 | 1597810437 | Python | Python (3.8.2) | py | Accepted | 25 | 9076 | 198 | # list に入力を格納
list = list(map(int, 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,209,561 |
s302592373 | p04043 | u813387707 | 1597809945 | Python | Python (3.8.2) | py | Accepted | 27 | 8980 | 67 | print("YES" if "".join(sorted(input().split())) == "557" else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,562 |
s615180391 | p04043 | u929793345 | 1597795307 | Python | Python (3.8.2) | py | Accepted | 27 | 9092 | 98 | a = list(map(int, input().split()))
print('YES' if a.count(5) == 2 and a.count(7) == 1 else 'NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,563 |
s591565668 | p04043 | u501451051 | 1597763640 | Python | Python (3.8.2) | py | Accepted | 27 | 8976 | 133 | lis = list(map(int, input().split()))
lis.sort()
if lis[0] == 5 and lis[1]==5 and lis[2]== 7:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,564 |
s163142144 | p04043 | u070423038 | 1597721358 | Python | Python (3.8.2) | py | Accepted | 28 | 9036 | 200 | s = [int(x) for x in input().split()]
f5 = 0
f7 = 0
for i in s:
if 5 == i:
f5 += 1
if 7 == i:
f7 += 1
if f5 == 2 and f7 == 1:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,565 |
s009566678 | p04043 | u969708690 | 1597710183 | Python | Python (3.8.2) | py | Accepted | 22 | 9012 | 94 | 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,209,566 |
s650413845 | p04043 | u629607744 | 1597701172 | Python | Python (3.8.2) | py | Accepted | 24 | 9068 | 118 | a = list(str(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,209,567 |
s293925403 | p04043 | u451965785 | 1597693099 | Python | Python (3.8.2) | py | Accepted | 26 | 9068 | 157 | L = list(map(int,input().split()))
cnt = 0
for i in range(3):
cnt += L[i]
if cnt == 17:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,568 |
s314628490 | p04043 | u353919145 | 1597670111 | Python | Python (3.8.2) | py | Accepted | 28 | 9060 | 121 | h = sorted(list(map(int, input().split())))
if (h[0] == h[1]) and (h[1] != h[2]):
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,569 |
s376561235 | p04043 | u793028948 | 1597670071 | Python | Python (3.8.2) | py | Accepted | 24 | 9152 | 121 | h = sorted(list(map(int, input().split())))
if (h[0] == h[1]) and (h[1] != h[2]):
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,570 |
s725553871 | p04043 | u814265211 | 1597626159 | Python | Python (3.8.2) | py | Accepted | 24 | 9096 | 120 | ABC = list(map(int, input().split()))
if ABC.count(5) == 2 and ABC.count(7) == 1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,571 |
s779024163 | p04043 | u814265211 | 1597626148 | Python | Python (3.8.2) | py | Accepted | 26 | 9048 | 115 | ABC = list(map(int, input().split()))
if ABC.count(5) == 2 and ABC.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,209,572 |
s362046944 | p04043 | u512551187 | 1597595175 | Python | PyPy3 (7.3.0) | py | Accepted | 62 | 61804 | 96 | l=list(map(int,input().split()))
l.sort()
if(l==[5,5,7]):
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,573 |
s396961481 | p04043 | u364027015 | 1597585022 | Python | Python (3.8.2) | py | Accepted | 27 | 9080 | 104 | X=list(map(int,input().split()))
X.sort(reverse=False)
if 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,209,574 |
s526959290 | p04043 | u239091426 | 1597550439 | Python | Python (3.8.2) | py | Accepted | 23 | 8932 | 96 | l = list(map(int, input().split()))
l.sort()
if l == [5,5,7]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,575 |
s893771876 | p04043 | u612635771 | 1597529679 | Python | Python (3.8.2) | py | Accepted | 23 | 9024 | 77 | s = input()
print("YES" if s.count("5") == 2 and s.count("7") == 1 else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,576 |
s850825533 | p04043 | u468972478 | 1597507530 | Python | Python (3.8.2) | py | Accepted | 28 | 9024 | 119 | nums = list(map(int, input().split()))
if nums.count(5) == 2 and nums.count(7) == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,577 |
s509199604 | p04043 | u650932312 | 1597500042 | Python | Python (3.8.2) | py | Accepted | 28 | 9056 | 118 | length = list(map(int, input().split()))
length.sort()
if length == [5,5,7]:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,578 |
s481247311 | p04043 | u172748267 | 1597477564 | Python | Python (3.8.2) | py | Accepted | 31 | 8988 | 107 | a=list(map(int,input().split()))
if a.count(5)==2 and a.count(7)==1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,579 |
s933732647 | p04043 | u190866453 | 1597462823 | Python | Python (3.8.2) | py | Accepted | 27 | 8984 | 103 | l = list(map(int, input().split()))
l.sort()
if l == [5, 5, 7]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,580 |
s302505245 | p04043 | u153335839 | 1597448935 | Python | Python (3.8.2) | py | Accepted | 26 | 9072 | 210 | a, b, c = map(int, input().split())
ls = [a,b,c]
five = 0
seven = 0
for data in ls:
if data == 5:
five += 1
elif data == 7:
seven += 1
if five == 2 and seven == 1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,581 |
s686092760 | p04043 | u159335277 | 1597374609 | Python | Python (3.8.2) | py | Accepted | 24 | 9064 | 122 | v = list(map(int, input().split()))
v.sort()
if v[0] == 5 and v[1] == 5 and v[2] == 7:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,582 |
s288845861 | p04043 | u776660877 | 1597348644 | Python | Python (3.8.2) | py | Accepted | 30 | 9020 | 217 | a = input()
A = int(a[0])
B = int(a[2])
C = int(a[4])
if(A==5 and B==7 and C==5):
print('YES')
elif(A==7 and B==5 and C==5):
print('YES')
elif(A==5 and B==5 and C==7):
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,583 |
s296676382 | p04043 | u632413369 | 1597339625 | Python | Python (3.8.2) | py | Accepted | 27 | 9048 | 133 | tmp = sorted(list(map(int, input().split())))
if tmp[0] == 5 and tmp[1] == 5 and tmp[2] == 7:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,584 |
s815918412 | p04043 | u849029577 | 1597336198 | Python | PyPy3 (7.3.0) | py | Accepted | 64 | 61744 | 101 | x = sorted(list(map(int, input().split())))
if 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,209,585 |
s841483552 | p04043 | u468972478 | 1597258858 | Python | Python (3.8.2) | py | Accepted | 26 | 9064 | 123 | nums = list(map(int, input().split()))
if nums.count(5) == 2 and nums.count(7) == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,586 |
s955456895 | p04043 | u301811731 | 1597249308 | Python | Python (3.8.2) | py | Accepted | 22 | 9104 | 336 | num5 = 0
num7 = 0
a, b, c = (int(x) for x in input().split())
if (a == 5):
num5 = num5 +1
elif (a == 7):
num7 = num7 +1
if (b == 5):
num5 = num5 +1
elif (b == 7):
num7 = num7 +1
if (c == 5):
num5 = num5 +1
elif (c == 7):
num7 = num7 +1
if (num5 == 2) and (num7 == 1):
print("YES")
else:
... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,587 |
s451383594 | p04043 | u353919145 | 1597238661 | Python | Python (3.8.2) | py | Accepted | 25 | 9148 | 466 | from sys import stdin, stdout
def main():
line = stdin.readline()
parts = line.split()
a = int(parts[0])
b = int(parts[1])
c = int(parts[2])
count5 = 0
count7 = 0
x = 0
while x < 3:
if int(parts[x]) == 5:
count5 += 1
elif int(parts[x]) == 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,209,588 |
s384352711 | p04043 | u353919145 | 1597236705 | Python | Python (3.8.2) | py | Accepted | 25 | 9080 | 217 | from sys import stdin, stdout
def main():
line = stdin.readline()
parts = line.split()
parts.sort()
stdout.write('YES' if int(parts[0])==5 and int(parts[1])==5 and int(parts[2])==7 else 'NO')
main() | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,589 |
s742888405 | p04043 | u816631826 | 1597235588 | Python | Python (3.8.2) | py | Accepted | 26 | 9068 | 290 | from sys import stdin,stdout
def main():
line=stdin.readline()
parts=line.split()
a=int(parts[0])
b=int(parts[1])
c= int(parts[2])
l=[a,b,c]
l.sort()
if l[0]==5 and l[1]==5 and l[2]==7:
stdout.write("YES")
else:
stdout.write("NO")
main() | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,590 |
s552008394 | p04043 | u816631826 | 1597235544 | Python | Python (3.8.2) | py | Accepted | 26 | 9100 | 374 | from sys import stdin, stdout
def main():
line = stdin.readline()
parts = line.split()
n = int(parts[0])
countfive = 0
countseven = 0
for i in parts:
if int(i)==5:
countfive= countfive+1
if int(i)==7:
countseven= countseven+1
stdout.write( "YES" if... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,591 |
s125313788 | p04043 | u190195462 | 1597204464 | Python | Python (3.8.2) | py | Accepted | 24 | 8936 | 272 | A, B, C = map(str, input().split())
D = 0
E = 0
if A == "5":
D =D + 1
if A == "7":
E =E + 1
if B == "5":
D =D + 1
if B == "7":
E =E + 1
if C == "5":
D =D + 1
if C == "7":
E =E + 1
if D == 2 and E == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,592 |
s298131169 | p04043 | u928013091 | 1597182583 | Python | Python (3.8.2) | py | Accepted | 29 | 9028 | 130 | a = input().split()
five = a.count('5')
seven = a.count('7')
if five == 2 and seven == 1:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,593 |
s743627483 | p04043 | u193264896 | 1597151123 | Python | Python (3.8.2) | py | Accepted | 26 | 9072 | 321 | import sys
read = sys.stdin.read
readline = sys.stdin.buffer.readline
sys.setrecursionlimit(10 ** 8)
INF = float('inf')
MOD = 10 ** 9 + 7
def main():
A = list(map(int, readline().split()))
A.sort()
if A == [5,5,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,209,594 |
s211740487 | p04043 | u592743763 | 1597124692 | Python | Python (3.8.2) | py | Accepted | 24 | 9132 | 182 | L=input().split()
A,B,C=int(L[0]),int(L[1]),int(L[2])
X=[5,7]
ans = []
for i in range(len(X)):
ans.append([A,B,C].count(X[i]))
if ans == [2,1]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,595 |
s980048399 | p04043 | u024422110 | 1597105938 | Python | Python (3.8.2) | py | Accepted | 27 | 8824 | 125 | a = input().split()
five = a.count('5')
seven = a.count('7')
if five == 2 and seven == 1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,596 |
s572127854 | p04043 | u740909619 | 1597099463 | Python | Python (3.8.2) | py | Accepted | 27 | 8944 | 375 | # A - 和風いろはちゃんイージー
def main():
abc = list(map(int, input().split()))
c5 = 0
c7 = 0
for i in abc:
if i == 5:
c5 += 1
elif i == 7:
c7 += 1
else:
if c5 == 2 and c7 == 1:
print('YES')
else:
print('NO')
if __na... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,597 |
s101800159 | p04043 | u401686269 | 1597085248 | Python | Python (3.8.2) | py | Accepted | 29 | 9056 | 102 | a,b,c=map(int,input().split())
a,b,c=sorted([a,b,c])
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,209,598 |
s457983199 | p04043 | u035210736 | 1597047896 | Python | Python (3.8.2) | py | Accepted | 28 | 8900 | 90 | i = input()
if i.count("5") == 2 and i.count("7") == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,599 |
s545353237 | p04043 | u442948527 | 1597012825 | Python | Python (3.8.2) | py | Accepted | 23 | 8856 | 71 | a,b,c=sorted(input().split())
print(["NO","YES"][a==b=="5" and c=="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,209,600 |
s958172452 | p04043 | u074220993 | 1596989877 | Python | Python (3.8.2) | py | Accepted | 26 | 9084 | 104 | L = [int(x) for x in input().split()]
L.sort()
if L == [5,5,7]:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,601 |
s908970061 | p04043 | u274615057 | 1596945505 | Python | Python (3.8.2) | py | Accepted | 29 | 8992 | 168 |
def main():
a, b, c = map(int, input().split())
if a + b + c == 17:
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,209,602 |
s332433417 | p04043 | u804182086 | 1596898801 | Python | Python (3.8.2) | py | Accepted | 28 | 8892 | 149 | # -*- coding: utf-8 -*-
nums = input().split()
if len(nums)==3 and nums.count('5')==2 and nums.count('7')==1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,603 |
s508637007 | p04043 | u627691992 | 1596827441 | Python | Python (3.8.2) | py | Accepted | 24 | 8872 | 80 | S = input()
print('YES' if(S.count('5') == 2 and S.count('7') == 1) else 'NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,604 |
s239971135 | p04043 | u935477635 | 1596824745 | Python | Python (3.8.2) | py | Accepted | 28 | 8988 | 108 | syl=sorted(list(map(int,input().split())))
syl2=[5, 5, 7]
if syl == syl2:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,605 |
s997206970 | p04043 | u146066372 | 1596762985 | Python | PyPy3 (7.3.0) | py | Accepted | 64 | 61816 | 173 | A=list(map(int,input().split()))
A.sort()
flag=0
if A[0]==5:
if A[1]==5:
if A[2]==7:
print("YES")
flag+=1
if flag==0:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,606 |
s606621575 | p04043 | u552738814 | 1596756405 | Python | Python (3.8.2) | py | Accepted | 26 | 9000 | 216 | list = list(map(int,input().split()))
five = 0
seven = 0
for i in list:
if i == 5:
five += 1
elif i == 7:
seven += 1
else:
pass
if seven == 1 and five == 2:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,607 |
s183382384 | p04043 | u554590385 | 1596751015 | Python | Python (3.8.2) | py | Accepted | 31 | 9540 | 148 | from functools import reduce
A= list(map(int,input().split()))
sum= reduce(lambda a,b : a+b, A)
if(sum==17):
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,608 |
s843717739 | p04043 | u894623942 | 1596689683 | Python | Python (3.8.2) | py | Accepted | 28 | 9160 | 109 | a = list(map(int,input().split()))
if a.count(5)==2 and a.count(7)==1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,609 |
s988935465 | p04043 | u614181788 | 1596675711 | Python | Python (3.8.2) | py | Accepted | 29 | 9068 | 109 | a = list(map(int,input().split()))
if a.count(7) == 1 and a.count(5):
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,610 |
s495644447 | p04043 | u442948527 | 1596601335 | Python | Python (3.8.2) | py | Accepted | 26 | 9024 | 76 | a,b,c=sorted(map(int,input().split()))
print(["NO","YES"][a==b==5 and c==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,209,611 |
s638221379 | p04043 | u522686706 | 1596592258 | Python | PyPy3 (7.3.0) | py | Accepted | 71 | 61756 | 113 | lst = list(map(int, input().split()))
slst = sorted(lst)
if slst == [5, 5, 7]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,612 |
s196746861 | p04043 | u714104087 | 1596570826 | Python | PyPy3 (7.3.0) | py | Accepted | 61 | 61632 | 92 | ABC = input().split()
print("YES" if ABC.count("5") == 2 and ABC.count("7") == 1 else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,613 |
s697221950 | p04043 | u330799501 | 1596566185 | Python | Python (3.8.2) | py | Accepted | 25 | 9052 | 324 | #k = int(input())
#s = input()
#a, b = map(int, input().split())
#s, t = map(str, input().split())
#l = list(map(int, input().split()))
#l = [list(map(int,input().split())) for i in range(n)]
l = list(map(int, input().split()))
l.sort()
if (l[0] == 5 and l[1] == 5 and l[2] == 7):
print("YES")
else:
print("NO... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,614 |
s440582881 | p04043 | u174536291 | 1596562717 | Python | Python (3.8.2) | py | Accepted | 25 | 8960 | 209 | a, b, c = list(map(int, input().split()))
if a == 5 and b == 5 and c == 7:
print('YES')
elif a == 5 and b == 7 and c == 5:
print('YES')
elif a == 7 and b == 5 and c == 5:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,615 |
s464415810 | p04043 | u329328520 | 1596556962 | Python | Python (3.8.2) | py | Accepted | 31 | 9040 | 196 | if __name__ == '__main__':
a = [int(e) for e in input().split(' ')]
s = 17
for e in a:
if e in [5, 7]:
s = s - e
r = 'YES' if s == 0 else 'NO'
print(r)
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,209,616 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.