Prob 5. nineFish's code

mail@pastecode.io avatar
unknown
python
2 years ago
578 B
2
Indexable
Never
a=int(input())
b,c,d=map(int,input().split())
e,f,g=map(int,input().split())
h,i,j=map(int,input().split())
if d<b:
    print("Solid")
elif d==b:
    print("Melting")
elif b<d<c:
    print("Liquid")
elif d==c:
    print("Boiling")
else:
    print("Gas")
if g<e:
    print("Solid")
elif g==e:
    print("Melting")
elif e<g<f:
    print("Liquid")
elif g==f:
    print("Boiling")
else:
    print("Gas")
if j<h:
    print("Solid")
elif j==h:
    print("Melting")
elif h<j<i:
    print("Liquid")
elif j==i:
    print("Boiling")
else:
    print("Gas")