#include<stdio.h> int main() { int a=0,wei=0,yushu=0; char ling='0'; while(scanf("%d",&a)>0) { if(a==0) printf("%c",ling); while(a>...