Files
kattis/abc.py
2022-05-25 13:56:23 +02:00

5 lines
133 B
Python

i = {}
i["A"], i["B"], i["C"] = sorted(list(map(int, input().split())))
order = input()
print(i[order[0]], i[order[1]], i[order[2]])