#include <bits/stdc++.h> using namespace std; int main() { int x; for (int i = 0; i < 10; i ++ ) { cin >> x; cout << "X[" << i << "] = " << (x < 1 ? 1 : x) << endl; } }