Как взять два места, разделенные в Python

N, M = map(int, input().split())
    print(N, M)
Excited Earthworm