403285: GYM101102 E Ya Rajaie and Books

Memory Limit:256 MB Time Limit:0 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

E. Ya Rajaie and Bookstime limit per test0.5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output

Mr. Ya Rajaie has N books and wants to put them in bookshelves, each bookshelf can have at most 5 books. Find the minimum number of bookshelves needed to store the N books.

Input

The first line of input contains a single integer T, the number of test cases.

Each test case contains a single integer N (1 ≤ N ≤ 109), the number of Ya’s books.

Output

For each test case, print on a single line the minimum number of bookshelves needed to store the books.

ExampleInput
2
7
15
Output
2
3

加入题单

算法标签: