def inPutCat():
    a = input() ##complete this
    b = input()##complete this
    c = input()##complete this
    print(a, b, c) ## comma is used as it automatically separates the variables by a space. 
    ## + can also be used to concatenate but it would require manual spaces to print the words with spaces between them.


#{ 
#Driver Code Starts.



def main():
    testcases=int(input()) #testcases
    while(testcases>0):
        inPutCat() #the function that gets things done
        testcases-=1
        


if __name__=='__main__':
    main()
#} Driver Code Ends

29278fd8581626a9b476981e7d869712b2859870
<mask token>

<mask token>


def main():
    testcases = int(input())
    while testcases > 0:
        inPutCat()
        testcases -= 1


<mask token>

def inPutCat():
    a = input()
    b = input()
    c = input()
    print(a, b, c)


def main():
    testcases = int(input())
    while testcases > 0:
        inPutCat()
        testcases -= 1


<mask token>

def inPutCat():
    a = input()
    b = input()
    c = input()
    print(a, b, c)


def main():
    testcases = int(input())
    while testcases > 0:
        inPutCat()
        testcases -= 1


if __name__ == '__main__':
    main()

def inPutCat():
    a = input() ##complete this
    b = input()##complete this
    c = input()##complete this
    print(a, b, c) ## comma is used as it automatically separates the variables by a space. 
    ## + can also be used to concatenate but it would require manual spaces to print the words with spaces between them.


#{ 
#Driver Code Starts.



def main():
    testcases=int(input()) #testcases
    while(testcases>0):
        inPutCat() #the function that gets things done
        testcases-=1
        


if __name__=='__main__':
    main()
#} Driver Code Ends
