#include<iostream>
using namespace std;
int main()
{
double n;
for(int i=0;i<100;i++)
{
cin>>n;
cout.setf(ios_base::fixed);
cout.precision(1);
if(n<=10) cout<<"A["<<i<<"] = "<<n<<endl;
}
return 0;
}