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