📅  最后修改于: 2022-03-11 14:46:04.530000             🧑  作者: Mango
for i in range(0, int(input())):
n = int(input())
c1 = n // 3;
c2 = c1;
if n % 3 == 1:
c1 += 1
elif n % 3 == 2:
c2 += 1
print(c1, c2)