t = int(input())
for i in range(t):
    a, b, c, d = map(int,input().split())
    print(b,c,c)