#include using namespace std; typedef long long LL; int main(int argc, char* argv[]) { char *S="285714"; LL N; cin>>N; LL n=N%6; cout<