#include int main(void){ int sum; scanf("%d",&sum); while(sum>10){ printf("10 "); } printf("%d\n",sum); return 0; }