#include using namespace std; typedef long long ll; int main() { ll l, n; cin>>l>>n; l-=3; cout << ((1<