#include<iostream>using namespace std;unsigned short in;int main(){while(cin>>in){ if(in%3 != 0) cout<<in/3+1<<endl; else cout<<in/3<<endl;}return 0;}
#include<iostream>
using namespace std;
unsigned short in;
int main(){
cin>>in;
if(in%3 != 0)
cout<<in/3+1<<endl;
else
cout<<in/3<<endl;
return 0;
}
因為是一次,所以能在少一行。