# 73. 3n, 3n + 1, and 3n + 2

## I'm a slow walker, but I never walk backwards.

Write a program to count the number of integers that are $3n$, $3n + 1$, and $3n + 2$ respectively.

## Input format

The first line has the number of input integers $n$. Each of the following $n$ lines has an input integer.

## Output format

Output the numbers of integer that are $3n$, $3n+1$, $3n+2$.

## Sample input 1

512345


## Sample output 1

1 2 2


## Sample input 2

103141592653


## Sample output 2

4 3 3