#include #include #include #include #include #include #include #include #include #include using namespace std; #define mod (1000000000+7) #define N (10007) #define INF 1e16 typedef long long ll; typedef pair P; int g[100010]; int main(void){ int n; cin>>n; int ans = 0; if(n%2==0){ int num = n-2; ans =1^n; num/=2; if(num%2==0)num=0; else num=1; ans^=num; } else{ int num = n-1; ans = 1; num/=2; if(num%2==0)num=0; else num=1; ans^=num; } if(ans == 0)cout<<"X"<