n = int(input()) for i in range(n): print(0,0,0)