← Back to List
20650번: Do You Know Your ABCs? ↗
Solutions
Python 3
98 B | 98 chars
l = sorted([*map(int, input().split())]) print(l[0], l[1], l[2] if l[0] + l[1] != l[2] else l[3])