#include using namespace std; using ll = long long; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define P pair int main(){ int n; cin>>n; if(n==0){ cout<<"0"<