N = int(raw_input()) print 0, N