int main() { int n=0; while(EOF != scanf("%d",&n)) { int num=n/3; if(n%3==2) ++num; printf("%d\n",num); } return 0; }