#include using namespace std; typedef long long ll; int main(void){ cin.tie(0); ios::sync_with_stdio(false); ll n,m; cin >> n >> m; ll dp[10000000]={0}; dp[0] = 0; dp[1] = 1; for(ll i=2;i