local a, b, x0, n = io.read("*n", "*n", "*n", "*n") if x0 % 2 == 0 then print(bit.rshift(n, 1) .. " " .. 0) else print(0 .. " " .. bit.rshift(n, 1)) end