*_, n = map(int, input().split()) print(0, n // 2) # print(n // 2, n // 2)