#include <iostream>
using namespace std;
int main()
{
int b,a;
cin>>b;
while(b--){
cin>>a;
cout<<a+1<<endl;}
}