#include <iostream>
#include <cstdio>
#include <algorithm>
using namespace std;
int main()
{
int tmp = 0, i = 0;
while(scanf("%d", &tmp) != EOF)
{
if (tmp <= 0)
{
cout << "X[" << i << "] = " << 1 << endl;
i++;
continue;
}
cout << "X[" << i << "] = " << tmp << endl;
i++;
}
return 0;
}