Problem:
 Score : 100 points    Problem Statement Iroha loves Haiku . Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with 5 , 7 and 5 syllables, in this order.  To create a Haiku, Iroha has come up with three different phrases. These phrases have A , B and C syllables, respectively. Determine whether she can construct a Haiku by using each of the phrases once, in some order.      Constraints  1≦A,B,C≦10         Input The input is given from Standard Input in the following format:  A  B  C       Output If it is possible to construct a Haiku by using each of the phrases once, print YES (case-sensitive). Otherwise, print NO .        Sample Input 1 5 5 7      Sample Output 1 YES  Using three phrases of length 5 , 5 and 7 , it is possible to construct a Haiku.       Sample Input 2 7 7 5      Sample Output 2 NO

Solution (Python):
cond = [int(n) for n in input().split(" ")]
five,seven = 0,0
for c in cond:
    if c == 5:
        five += 1
    elif c == 7:
        seven += 1
else:
    if five == 2 and seven == 1:
        print("YES")
    else:
        print("NO")

Solution (Python):
a = map(int, raw_input().split())
a.sort()
if a == [5,5,7]:
    print "YES"
else:
    print "NO"

Solution (Python):
A=sorted(list(map(int, input().split())))

if A[0] == A[1] == 5 and A[2] == 7:
    print("YES")
else:
    print("NO")

Solution (Python):


xs = sorted(map(int, raw_input().split()))

print 'YES' if xs == [5, 5, 7] else 'NO'

Solution (Python):
s = raw_input().split()

if s.count('5') == 2 and s.count('7') == 1:
 print 'YES'
else:
 print 'NO'

Solution (Python):
ls = map(int, raw_input().split())
ls.sort()
if ls[0] == 5 and ls[1] == 5 and ls[2] == 7:
  print "YES"
else:
  print "NO"

Solution (Python):
a, b, c = sorted([int(x) for x in input().split()])
print('YES' if a == b == 5 and c == 7 else 'NO')

Solution (Python):
a=list(sorted(map(int,input().split())))
print("YES" if a == [5,5,7] else "NO")

Solution (Python):
l = list(map(int, input().split()))
if l.count(5) == 2 and l.count(7) == 1:
    print("YES")
else:
    print("NO")