T = int(input()) for i in range(T): a,b,c = map(int,input().split()) x = a y = b*c z = b*c print(x,y,z)