#include using namespace std; typedef long long ll; typedef pair P; const int INF=100000000; const ll INFx=1000000000000; int dx[4]={1,0,-1,0}; int dy[4]={0,1,0,-1}; string al="abcdefghijklmnopqrstuvwxyz"; string AL="ABCDEFGHIJKLMNOPQRSTUVWXYZ"; #define rep(i,n) for(int i=0;i<(n);++i) #define YESNO(flag) if(flag){cout<<"YES"<>n>>p; n/=100; int ans=0; cout<