x, y = map(int, input().split())

Read more of this post