#include using namespace std; int main(){ int n,z; cin >> n >> z; int ans=0; for(int x=1;x