import scala.
io.
StdIn.
{readLine,readInt
}
def main
(args
: Array
[String
]) { println("Hello, world!")
for( i
<-
0 until times
) { val sp
= readLine
().
split(" "); // BinarySearchTree bst = new BinarySearchTree();
var currentList
: Array
[Int
] = new Array
[Int
](N
); for( j
<-
0 until sp.
length ){ // bst.insert(sp(j).toInt);
currentList(j) = sp(j).toInt;
print(currentList(j));
}
// if(currentList.toString().equalsIgnoreCase(bst.printPreorder())){
// System.out.println("YES");
// }
// else{
// System.out.println("NO");
// }
}
}
}
// import java.util.ArrayList;
// import java.util.Scanner;
// class Node<T> {
// public int value;
// public Node left;
// public Node right;
// public Node(int value) {
// this.value = value;
// }
// }
// class BinarySearchTree {
// public Node root;
// public ArrayList traverseList = new ArrayList();
// public BinarySearchTree insert(int value) {
// Node node = new Node(value);
// if (root == null) {
// root = node;
// return this;
// }
// insertRec(root, node);
// return this;
// }
// private void insertRec(Node latestRoot, Node node) {
// if (latestRoot.value > node.value) {
// if (latestRoot.left == null) {
// latestRoot.left = node;
// return;
// } else {
// insertRec(latestRoot.left, node);
// }
// } else {
// if (latestRoot.right == null) {
// latestRoot.right = node;
// return;
// } else {
// insertRec(latestRoot.right, node);
// }
// }
// }
// public String printPreorder() {
// printPreOrderRec(root);
// return traverseList.toString();
// }
// private void printPreOrderRec(Node currRoot) {
// if (currRoot == null) {
// return;
// }
// traverseList.add(currRoot.value);
// printPreOrderRec(currRoot.left);
// printPreOrderRec(currRoot.right);
// }
// }