------
## 最终结论
```python
t = int(input())
for _ in range(t):
    n = int(input())
    if n % 4 == 0:
        print("YES")
    else:
        print("NO")
```