#include <cstdio> int main() { int x[10]; int b=1; for(int i=0;i<10;i++) { scanf("%d\n",&x[i]); if(x[i]<=0) printf("X[%d] = %d\n",i,1); else printf("X[%d] = %d\n",i,x[i]);} return 0; }