#include <iostream>
#include <cstdio>
using namespace std;
int main(){
char c='2';
while (c=='2' || c=='3' || c=='5' || c=='7')c=getchar();
if (c=='\n') cout<<"TAK"<<endl;
else cout<<"NIE"<<endl;
return 0;
}
1 2 3 4 5 6 7 8 9 10 11 12 | #include <iostream> #include <cstdio> using namespace std; int main(){ char c='2'; while (c=='2' || c=='3' || c=='5' || c=='7')c=getchar(); if (c=='\n') cout<<"TAK"<<endl; else cout<<"NIE"<<endl; return 0; } |
English