Użyj mapy w Pythonie, aby przyjmować dane wejściowe

c = map(int,input().split)
Worrisome Wolverine