Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Aula 22/08/2018
a, b, c = input().split()
a = int(a)
b = int(b)
c = int(c)
if a==b or a==c or b==c:
print("S")
elif a+b==c or a+c==b or b+c==a:
print("S")
else:
print("N")
a, b, c, d = map(int, input().split())
# a = int(a)
# b = int(b)
# c = int(c)
if a > b and a > c:
print(a)
elif b > c:
print(b)
else:
print(c)
a, b, c, d = map(int, input().split())
if a > b and a > c and a > d:
print(a)
elif b > c and b > d:
print(b)
elif c > d:
print(c)
else:
print(d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment