#include<iostream> using namespace std; int main(){ int bottle; while(cin>>bottle){ if(bottle == 0) break; cout<<bottle/2<<endl; } return 0; }
#include<iostream> using namespace std; int main(){ int bottle; while(cin>>bottle){ if(bottle == 0) break; cout<<bottle/2<<endl; } return 0; }