#include <stdio.h> int a, b; int main() { scanf("%d", &a); if(a==0) { printf("0"); } while(a>0) { b=0; while(a>=2) { a=a-2; b=b+1; } printf("%d", a); a=b; } }
To embed this project on your website, copy the following code and paste it into your website's HTML: