#include <cstdio>
int main()
{
double a = 0.0;
for( int i = 0; i < 10; ++i ) a += 0.1;
printf("%lf\n",a);
if( a -( int ) a == 0.) printf( "TAK\n" );
else printf( "NIE\n" );
}
I2luY2x1ZGUgPGNzdGRpbz4KCmludCBtYWluKCkKewogICAgZG91YmxlIGEgPSAwLjA7CiAgICBmb3IoIGludCBpID0gMDsgaSA8IDEwOyArK2kgKSBhICs9IDAuMTsKICAgCiAgICBwcmludGYoIiVsZlxuIixhKTsKICAgIGlmKCBhIC0oIGludCApIGEgPT0gMC4pIHByaW50ZiggIlRBS1xuIiApOwogICAgZWxzZSBwcmludGYoICJOSUVcbiIgKTsKICAgCn0=