Rainbow Dash, Fluttershy and Chess Coloring
#include <bits/stdc++.h>
using namespace std;
int n;
int main() {
int _;
scanf("%d", &_);
while (_--) {
scanf("%d", &n);
printf("%d\n", n / 2 + 1);
}
return 0;
}