n, k = map(int, input().split()) assert 1 <= n <= 10 ** 12 assert 0 <= k < n