#include using namespace std; #define rep(i,a,n) for(int i=(a);i<(n);i++) int main(){ int a,b,i=0,ans=0; cin >> a >> b; while(i