Good Numbers
Tag(s):

## Basic Math, Mathematics, Mathematics, Simple-math, Very-Easy

Problem
Editorial
Analytics

You are given a number $N$. Determine the number of positive even integers that are smaller than or equal to it and are not a multiple of 4.

Input Format

The first line contains a single integer $T$ ($1 \le T \le 100$), denoting the number of test cases.
Each of the next $T$ lines contains a single integer, denoting the value of $N$ ($1 \le N \le 10^5$).

Output Format

Print $T$ lines, where the $i$-th line contains the answer to the $i$-th test case.

SAMPLE INPUT
4
3
7
8
11

SAMPLE OUTPUT
1
2
2
3

Explanation

For N=3, only 2 follows the given conditions, so answer is 1.

For N=11, numbers 2, 6 and 10 follows the given conditions, so answer is 3.

Time Limit: 2.0 sec(s) for each input file.
Memory Limit: 256 MB
Source Limit: 1024 KB
Marking Scheme: Marks are awarded when all the testcases pass.
Allowed Languages: Bash, C, C++, C++14, Clojure, C#, D, Erlang, F#, Go, Groovy, Haskell, Java, Java 8, JavaScript(Rhino), JavaScript(Node.js), Julia, Kotlin, Lisp, Lisp (SBCL), Lua, Objective-C, OCaml, Octave, Pascal, Perl, PHP, Python, Python 3, R(RScript), Racket, Ruby, Rust, Scala, Swift, Swift-4.1, TypeScript, Visual Basic

## CODE EDITOR

Initializing Code Editor...

## This Problem was Asked in Challenge Name

May Easy' 19

OTHER PROBLEMS OF THIS CHALLENGE
• Python > Getting Started
• Algorithms > Dynamic Programming
• Algorithms > Graphs
• Data Structures > Advanced Data Structures
• Data Structures > Advanced Data Structures