submission_id
string
problem_id
string
status
string
code
string
input
string
output
string
problem_description
string
s087942165
p04043
Runtime Error
a = map(int, input().split()) a.sort() if (a[0] == 5 && a[1] == 5 && a[2] == 7): print("Yes") else: print("No")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s474213510
p04043
Runtime Error
if [5,5,7] == list(map(int,input().split().sorted())): print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s498131960
p04043
Runtime Error
n, l = map(int, input()) s = sorted([input() for _ in range(N)]) print(''.join(s))
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s206757872
p04043
Runtime Error
array = [int(i) for i in input().split()] if sort(array) == [5,5,7]: print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s194926936
p04043
Runtime Error
x = map(int, input().split()) x.sort() if x[0] == 5 and x[1] == 5 and x[2]== 5: print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s428713417
p04043
Runtime Error
x = map(int(), input().split()) x.sort() if x[0] == 5 and x[1] == 5 and x[2]== 5: print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s778440204
p04043
Runtime Error
a, b, c = map(int,input.split()) if a == 5 and b == 7 and c == 5: print('YES') else: print('NO')
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s076932594
p04043
Runtime Error
a = "5 5 7" aa = a.split(" ") aa.sort if aa[0] == 5: if aa[1] == 5: if aa[2] == 7: aaa = "a" if aaa == "a": print("OK") else: print("ng")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s595819325
p04043
Runtime Error
from collections import Counter abc = input().rstrip() c = COunter(abc) if c['5'] == 2 and c['7'] == 1: print('YES') else: print('NO')
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s420748197
p04043
Runtime Error
numlist = list(map(int,input().split())) if max(numlist) == 7 and min(numlist) == 5 and sum(sumlist) == 17: print('YES') else: print('NO')
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s948520741
p04043
Runtime Error
n,l=map(int,input().split()) s=[] res='' for i in range(n): s.append(input()) s.sort() for k in range(n): res+=s[k] print(res)
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s985894849
p04043
Runtime Error
ABC=iuput() if ABC.count('5')==2 and ABC.count('7')==1: print('YES') else: print('NO')
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s307687267
p04043
Runtime Error
l = list(map(int,input().split())) if l.count(5) == 2, and l.count(7)==1 : print('YES') else: print('NO')
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s780506545
p04043
Runtime Error
a, b, c = input().split() abc = sorted([a, b, c]) ans = 'NO' if abc[0] == '5' and abc[1] == '5' and = abc[2] == '7': ans = 'YES' print(ans)
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s387073277
p04043
Runtime Error
a, b, c = map(int, input().split()) if a * b * c = 175: print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s909683256
p04043
Runtime Error
input = input().split() count = 0 for num in input: if num == "7": count += 1 if count = 1: print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s097172873
p04043
Runtime Error
# -*- coding: utf-8 -*- price, K = map(int, input().split()) kirai_data =input().split() #print(set(data)) lst = list(range(price,10001)) for min in lst: shugo = set(kirai_data) & set(list(str(min))) if len(shugo) == 0 : print(min) break else: cont...
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s826281505
p04043
Runtime Error
# -*- coding: utf-8 -*- price, K = map(int, input().split()) kirai_data =input().split() #print(set(data)) lst = list(range(price,10001)) for min in lst: shugo = set(kirai_data) & set(list(str(min))) if len(shugo) != 0 : continue else: #print(price) pr...
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s483170031
p04043
Runtime Error
# -*- coding: utf-8 -*- number, length = map(int, input().split()) lst = [] for n in range(number): s = input() #print(s) lst.append(s) #print(lst) lst.sort() moji = "" for n in lst: moji += n print(moji)
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s491378350
p04043
Runtime Error
# -*- coding: utf-8 -*- number, length = map(int, input().split()) lst = [] for n in range(number): input = input() lst.append(input) lst.sort() moji = "" for n in lst: moji += n print(moji)
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s665447884
p04043
Runtime Error
li = input().split().remove('5') if '7' in li: print('YES') else: print('NO')
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s959157191
p04043
Runtime Error
#入力した整数が5、7、5であるならばTrueを返す # int,int,int -> True x,y,z = (int(i) for i in input().split()) if x == 7: if y == z and y == 5 : print("YES") else: print("NO") elif y == 7: if x == z and x == 5: print("YES") else: print("NO") elif z == 7: if x == y and x == 5: ...
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s458129963
p04043
Runtime Error
#入力した整数が5、7、5であるならばTrueを返す # int,int,int -> True x,y,z = int(input()) if x == 7: if y == z and y == 5 : print("YES") else: print("NO") elif y == 7: if x == z and x == 5: print("YES") else: print("NO") elif z == 7: if x == y and x == 5: print("YES") else:...
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s916251174
p04043
Runtime Error
#入力した整数が5、7、5であるならばTrueを返す # int,int,int -> True x,y,z = int(input()) def check7(x,y,z): if x == 7: if y == z and y == 5 : print("YES") else: print("NO") elif y == 7: if x == z and x == 5: print("YES") else: print("NO") elif z =...
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s639553013
p04043
Runtime Error
A = list(map(int, input().split())) cnt = 0 for i in A: if i != 7 or i !=5: print('NO') else i == 7: cnt += 1 if cnt == 1: print('YES') else: print('NO')
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s648548418
p04043
Runtime Error
#入力した整数が5、7、5であるならばTrueを返す # int,int,int -> True def check7(x,y,z): if x == 7: if y == z and y == 5 : print("YES") else: print("NO") elif y == 7: if x == z and x == 5: print("YES") else: print("NO") elif z == 7: if x =...
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s235859254
p04043
Runtime Error
#入力した整数が5、7、5であるならばTrueを返す # int,int,int -> True def check7(x,y,z): if x == 7: if y == z and y == 5 : print("YES") else: print("NO") elif y == 7: if x == z and x == 5: print("YES") else: print("NO") elif z == 7: if x == ...
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s017096224
p04043
Runtime Error
#入力した整数が5、7、5であるならばTrueを返す # int,int,int -> True def check7(x,y,z): if x == 7: if y == z : print("YES") else: print("NO") elif y == 7: if x == z : print("YES") else: print("NO") elif z == 7: if x == y: print("Y...
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s762914015
p04043
Runtime Error
#入力した整数が5、7、5であるならばTrueを返す # int,int,int -> True def check7(x,y,z): if x == 7: if y == z : print("YES") else: print("NO") elif y == 7: if x == z : print("YES") else: print("NO") elif z == 7: if x == y: print("Y...
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s705679347
p04043
Runtime Error
# coding: utf-8 num,num2,num3 = map(int,inpput().split()) if (num == 5 and num2 == 5 and num3 == 7) or (num == 5 and num2 == 7 and num3 == 5) or (num == 7 and num2 == 5 and num3 == 5): print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s645956140
p04043
Runtime Error
A =int(input()) B = int(input()) C = int(input()) count5 = 0 count7 = 0 if A == 5: count5 = count5 + 1 if A == 7: count7 = count7 + 1 if B == 5: count5 = count5 + 1 if B == 7: count7 = count7 + 1 if C == 5: count5 = count5 + 1 if C == 7: count7 = count7 + 1 if count5 == 2 and count7 == ...
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s327411286
p04043
Runtime Error
A = input() B = input() C = input() count5 = 0 count7 = 0 if A == 5: count5 = count5 + 1 if A == 7: count7 = count7 + 1 if B == 5: count5 = count5 + 1 if B == 7: count7 = count7 + 1 if C == 5: count5 = count5 + 1 if C == 7: count7 = count7 + 1 if count5 == 2 and count7 == 1: print("...
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s887092573
p04043
Runtime Error
A =int( input()) B = int(input()) C = int(input()) count5 = 0 count7 = 0 if A == 5: count5 = count5 + 1 elif A == 7: count7 = count7 + 1 if B == 5: count5 = count5 + 1 elif B == 7: count7 = count7 + 1 if C == 5: count5 = count5 + 1 elif C == 7: count7 = count7 + 1 if count5 == 2 and cou...
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s662979982
p04043
Runtime Error
A = input() B = input() C = input() count5 = 0 count7 = 0 if A == 5: count5 = count5 + 1 elif A == 7: count7 = count7 + 1 if B == 5: count5 = count5 + 1 elif B == 7: count7 = count7 + 1 if C == 5: count5 = count5 + 1 elif C == 7: count7 = count7 + 1 if count5 == 2 and count7 == 1: pr...
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s655045395
p04043
Runtime Error
A = input() B = input() C = input() count5 = 0 count7 = 0 if A == "5": count5 = count5 + 1 elif A == "7": count7 = count7 + 1 if B == "5": count5 = count5 + 1 elif B == "7": count7 = count7 + 1 if C == "5": count5 = count5 + 1 elif C == "7": count7 = count7 + 1 if count5 == 2 and count7 ...
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s240964250
p04043
Runtime Error
if int(input()) == 5 and int(input()) == 5 and int(input()) == 7: print('YES') elif int(input()) == 5 and int(input()) == 7 and int(input()) == 5: print('YES') elif int(input()) == 7 and int(input()) == 5 and int(input()) == 5: print('YES') else: print('NO')
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s102653975
p04043
Runtime Error
#!/usr/bin/env python3 from collections import defaultdict from collections import deque from heapq import heappush, heappop import sys import math import bisect import random import itertools sys.setrecursionlimit(10**5) stdin = sys.stdin bisect_left = bisect.bisect_left bisect_right = bisect.bisect_right def LI(): re...
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s936701391
p04043
Runtime Error
from math import * H, W, A, B = list(map(int, input().split())) p = 1000000007 ft = [1] ift = [-1] * (H + W + 1) for i in range(1, H + W + 1): ft.append(ft[i-1] * i % p) def ifac(a): if ift[a] != -1: return ift[a] res = 1 x = ft[a] for i in range(ceil(log2(p-2))): if ((p - 2) >> i) & 1: ...
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s317824786
p04043
Runtime Error
# -*- coding: utf-8 -*- a = [int(i) i for input().split()] count_5 = 0 count_7 = 0 for i in a: if i == 5: count_5 += 1 elif i == 7: count_7 += 1 else: continue if count_5 == 2 and count_7 == 1: print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s140871250
p04043
Runtime Error
nums = list(map(int,input().split()) nums.sort() if nums[0] == 5 and nums[1] == 5 and nums[2] == 7: print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s198363940
p04043
Runtime Error
nums = list(map(int,input(),split()) nums.sort() if nums[0] == 5 and nums[1] == 5 and nums[2] == 7: print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s339181394
p04043
Runtime Error
nums = list(map(int,input(),split()) nums.sort() if nums[0] == 5 and nums[1] == 5 and nums[2] == 7: print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s285485483
p04043
Runtime Error
print('YES' if (input().split().count('5')==2 and input().split().count('7')==1) else 'NO')
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s869243936
p04043
Runtime Error
print('YES' if input().split().count('5')==2 and input().split().count('7')==1 else 'NO')
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s782903212
p04043
Runtime Error
a = list(map(int, input().split())) for i in a: if i==5: i5+=1 if i==7: i7+=1 if i5==2 and i7==1: print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s224090780
p04043
Runtime Error
a = list(map(int, input().split())) for i in a: if i==5: i5+=1 elif i==7: i7+=1 if i5==2 & i7==1: print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s166480889
p04043
Runtime Error
s = list(map(int, input().split()) if s.count(5)==2 and s.count(7)==1: print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s020498048
p04043
Runtime Error
n,l=map(int,input().split()) t=sorted([input() for i in range(n)]) print(*t,sep="")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s544315077
p04043
Runtime Error
s=list(map(int,input().split())) s.sort() if s[0]==5 and s[1]==5 and s[2]==7 : print("YES") else : print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s466072122
p04043
Runtime Error
s=list(map(int,input().split()) s.sort() if s[0]==5 and s[1]==5 and s[2]==7 : print("YES") else : print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s082666952
p04043
Runtime Error
A = llist(map(int,input().split())) if (A.count(5)) == 2 and (A.count(7)) == 1: print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s039261363
p04043
Runtime Error
A = list(int,input().split()) if (A.count(5)) == 2 and (A.count(7)) == 1: print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s147087596
p04043
Runtime Error
L = list(map(int(),input().split())) if sum(L)==17: print('YES') else: pritn('NO')
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s031008904
p04043
Runtime Error
lst = input('3 nums with 2 space(1<=nums<=10):') i = 0 for n in lst: if n>10 or n<1: print('NO') break if n==5: i += 1 elif n==7: i -= 1 if i == 1: print('YES') else: print('NO')
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s257834323
p04043
Runtime Error
A,B,C=map(int,input().split()) a=len(A) b=len(B) c=len(C) if (a or b or c == 5) and (a or b or c ==7) and (a*b*c ==5*7*5): print('YES') else: print('NO')
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s579380432
p04043
Runtime Error
a,b,c=map(int,input().split()) if a,b,c == 5,5,7 print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s875481695
p04043
Runtime Error
a,b,c=map(int,input().split()) if a,b,c == 5,5,7 or a,b,c == 7,5,5 or a,b,c == 5,7,5: print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s334537739
p04043
Runtime Error
int a = 5 int b = 7 int c = 5 if a = b: print("YES") elif b = c: print("YES") elif c = b: ("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s269070403
p04043
Runtime Error
def X(A,B,C): if A == 5 or A == 7: if B == 5 or B == 7: if C == 5 or C == 7: if A + B + C == 19: return "YES" return "NO" A,B,C = int(input()) print(X(A,B,C))
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s566583665
p04043
Runtime Error
N = int(input()) L = int(input()) a = [] for i in range(N): a.append(input()) for ele in sorted(a): print(ele, end = '')
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s969521286
p04043
Runtime Error
i = list(map(int, input().split())) countFive = i.count(5) countSeven = i.count(7) if countFive == 2 & countSeven == 1 print("YES") else print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s924530914
p04043
Runtime Error
N,L = map(int,input().split()) s = sorted([input() for i in range(N)]) print("".join(s))
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s370389900
p04043
Runtime Error
def equal(n, available): return n in available def less(n, available): return n < sorted(available)[0] def greater(n, available): return n > sorted(available, reverse=True)[0] #less(n, available) == True であること def upper_next(n, available): for v in sorted(available): if n < v: return v retu...
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s902732111
p04043
Runtime Error
#include <iostream> using namespace std; int main(){ int A[3]; cin >> A[0] >> A[1] >> A[2]; sort(A, A + 3); if((A[0] == 5) && (A[1] == 5) && (A[2] == 7)) { cout << "YES" << endl; } else { cout << "NO" <<endl; } return 0; }
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s586660758
p04043
Runtime Error
x=input() y=input() z=input() if (x*y*z=5*5*7): print('true') else: print('False')
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s816129084
p04043
Runtime Error
X = int(input()) if X ==:[5,5,7],[5,7,5],[7,5,5]: print("yes") eles("no")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s447966731
p04043
Runtime Error
n, l = map(int, input().split()) a = [] for x in range(n): a.append(input()) a.sort() print("".join(a))
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s866307870
p04043
Runtime Error
n, l = map(int,input().split()) a = [] for x in range(n): a.append(input()) a.sort() print("".join(a))
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s812416557
p04043
Runtime Error
n, l = map(int,input().split()) a = [] for x in range(n): a.append(input()) a.sort() print(""join(a))
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s901046023
p04043
Runtime Error
n, l = map(int,input().split()) a = [] for x in range(n): a.append(input()) a.sorted() print(''.join(a))
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s382671462
p04043
Runtime Error
A = list(map(int, input().split())) A =sorted(A) if A[0]=5 and A[1]=5 and A[2]=7: print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s764165727
p04043
Runtime Error
A = list(map(int, input().split())) if max(A)=7 and mean(A)=5 and min(A)=5: print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s363958408
p04043
Runtime Error
a,b,c = map(int, input().split()) if max(a,b,c)=7 and mean(a,b,c)=5 and min(a,b,c)=5: print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s416435884
p04043
Runtime Error
a,b,c=int(input().split()) if max(a,b,c)=7 and mean(a,b,c)=5 and min(a,b,c)=5: print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s569411381
p04043
Runtime Error
a,b,c=input().split() if max(a,b,c)=7 and mean(a,b,c)=5 and min(a,b,c)=5: print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s788729586
p04043
Runtime Error
[A,B,C]=[int(input()),int(input()),int(input())] list=[A,B,C] if 5 in list: list.remove(5) if 5 in list: list.remove(5) if 7 in list: list.remove(7) if len(list)==0: print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s664389824
p04043
Runtime Error
a,b=map(int,input().split()) List=[] for i in range(a): List.append(input()) print("".join(sorted(List)))
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s639720233
p04043
Runtime Error
,b=map(int,input().split()) List=[] for i in range(a): List.append(input()) print("".join(sorted(List)))
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s852665219
p04043
Runtime Error
a,b=map(int,input().split()) List=[] for i in range(a): List.append(input) print("".join(sorted(List)))
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s501082594
p04043
Runtime Error
a,b=map(int,input().split()) List=[] for i in range(a): List.append(input) print("".join(sorted(List)))
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s880220692
p04043
Runtime Error
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")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s762402940
p04043
Runtime Error
if
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s237102979
p04043
Runtime Error
N,K = list(map(int,input().split())) D = list(map(int,input().split())) over = 0 for x in range(N,10000): for y in str(x): mediation = False for z in D: if int(y) == z: mediation = True break if mediation: break over = x if...
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s038868242
p04043
Runtime Error
a,b=map(int,input().split()) List=[input() for i in range(a)] print("".join(sorted(List)))
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s905716405
p04043
Runtime Error
a,b,c=input().split() l=[] l.append(len(a)) l.append(len(b)) l.append(len(c)) if l==[5,5,7] or l=[5,7,5] or l=[7,5,5]: print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s894445260
p04043
Runtime Error
def hantei(A,B,C): if A+B+C = 17: print('YES") else: print('NO')
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s075614519
p04043
Runtime Error
s, n = map(int,input().split()) a = input() b = input() c = input() ar = [a,b,c] ar.sort() result = ''.join(ar) print(result)
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s857873285
p04043
Runtime Error
s = input().split() if s.count('5') == 2 and s.count('7') == 1: print('YES') else: print('NO')
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s650621445
p04043
Runtime Error
list1 = list(map(int,input().split())) list1.sort() if list1[0] == 5 and list[1] ==7 and list[2]==7: print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s060860097
p04043
Runtime Error
a,b,c=map(int,input().split()) if ((a+b==10 and a==5) and c==7) or ((a+b=12 and c==5) and (a==5 or b==5)): print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s480953324
p04043
Runtime Error
a,b,c=map(int,input().split()) if (a+b==10 and a==5 and c==7) or (a+b=12 and c==5 and (a==5 or b==5)): print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s591002768
p04043
Runtime Error
a,b,c=map(int,input().split()) if a+b+c==17 and a*b*c==175:  print("YES") else:  print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s394565225
p04043
Runtime Error
import itertools white_num_list = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] N, K = map(int, input().split()) black_num_list = list(map(int, input().split())) white_num_list = list(set(white_num_list).difference(set(black_num_list))) num_combination = list(itertools.combinations_with_replacement(white_num_list, len(str(N)))) ...
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s875025301
p04043
Runtime Error
if A+B+C==17 : if A==5 and B==5 : print("YES") elif A==5 and B==7 : print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s496426913
p04043
Runtime Error
if A+B+C==17 : if (A==5 and B==5) : print("YES") elif (A==5 and B==7) : print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s156442829
p04043
Runtime Error
if A+B+C==17 : if (A==5 and B==5)or(A==5 and B==7) : print("YES") elif: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s197662466
p04043
Runtime Error
if A+B+C==17 : if (A==5&&B==5)||(A==5&&B==7) : print("YES") else: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s872173269
p04043
Runtime Error
if A+B+C==17 : if (A==5&&B==5)||(A==5&&B==7) : print("YES") elif: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s587601013
p04043
Runtime Error
if A+B+C==17 : if (A==5&&B==5)||(A==5&&B==7) : print("YES") elif: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
s038900835
p04043
Runtime Error
A = input() B = input() C = input() if A+B+C==17 : if (A==5&&B==5)||(A==5&&B==7) : print("YES") elif: print("NO")
5 5 7
YES
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...