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