当先锋百科网

首页 1 2 3 4 5 6 7
#include <iostream>
using namespace std;

int main()
{
	int n;
	int tmp;
	while (cin >> n)
	{
		if (n == 0)
			continue;
		else
		{
			tmp = n / 2;
			cout << tmp << endl;
		}
	}

	system("pause");
	return 0;
}