#include <stdio.h> int main() { int a; do{ scanf("%d", &a); if(a%3==0) printf("%d\n", a/3); else continue; }while(a != -1); return 0; }
To embed this project on your website, copy the following code and paste it into your website's HTML: