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