#include using namespace std; int main() { int n; while (cin>>n) { int x=n/4; int r=n%4/2; cout<