#include <iostream> using namespace std; int main(void) { int a[15]; for (int i = 0; i < 10; i++) { cin >> a[i]; if (a[i] <= 0) a[i] = 1; printf("X[%d] = %d\n", i, a[i]); } return 0; }