Monday, June 11, 2012

UVA Solution for 11877

//11877
//rank 484
#include<stdio.h>
int main()
{
    long int cola,half,total;
    while(scanf("%ld",&cola)==1)
    {
    if(cola==0)
    break;
   
    printf("%ld\n",cola>>1);
    }
}