l, r = map(int, input().split()) print(f"{ l } { r } { r } { r }") print(input())