#### Easy ??

**Author: ** QuwsarOhi

Problem Setter:Md. Saifur RahmanAssistant Professor, Dept. of CSE Bangladesh University of Business and Technology (BUBT)

Given an integer **X**, you have to find the smallest number
that is divisible by **3** and greater
than **X**.

#### Input Format

The first line of the
input contains an integer **T **(**T **<= 10) denoting
the number of test cases. Each of the next **T**
lines contains an integer, the value of **X** (0 <= **X** <= 10^{6}).

#### Output Format

For each input print
the desired output on a single line.

#### Samples

###### Input

3
2
4
9

###### Output

3
6
12

Limits

Language | Time | Memory |

GNU C 11 | 1s | 512MB |

GNU C++ 14 | 1s | 512MB |

GNU C++ 11 | 1s | 512MB |

PHP 7 | 1s | 1024MB |

Java (OpenJDK 8) | 1s | 4096MB |

Statistics