P13135 [HackerEarth] dalton and compiler design
普及
题目描述

As we know , Professor Dalton is teaching Compiler Design.
During his first class, he found that the students are very talkative.
so,he decided to divide the class into two sections, A & B
such that the difference between the strength of two sections
is minimum.
Print the strength of two sections in non decreasing
order.

Input : First line of the input contains number of test cases T,followed by T integers (n) (total sum of their strengths)

1≤T≤100000 , 1≤n≤100000

Output :For each test cases print strength of both section in non decreasing order

SAMPLE INPUT
2
6
8

SAMPLE OUTPUT
3 3
4 4

输入格式

见题面

输出格式

见题面

样例输入
2 6 8 SAMPLE
样例输出
3 3 4 4