#include using namespace std; #define int long long signed main(){ string S = "285714"; int N; cin>>N; cout<