#include <iostream>
using namespace std; // consider removing this line in serious projects
int main() {
int x;
cin>>x;
bool multipleof3 = x%3==0;
bool multipleof5 = x%5==0;
if(multipleof3 && multipleof5){
cout<<"multipleof3&multipleof5\n";
}else {
cout<<"NOT";
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOyAvLyBjb25zaWRlciByZW1vdmluZyB0aGlzIGxpbmUgaW4gc2VyaW91cyBwcm9qZWN0cwoKaW50IG1haW4oKSB7CgkKaW50IHg7CgljaW4+Png7Cglib29sIG11bHRpcGxlb2YzID0geCUzPT0wOwogICAgYm9vbCBtdWx0aXBsZW9mNSA9IHglNT09MDsKICAgIGlmKG11bHRpcGxlb2YzICYmIG11bHRpcGxlb2Y1KXsKICAgIAljb3V0PDwibXVsdGlwbGVvZjMmbXVsdGlwbGVvZjVcbiI7CiAgICB9ZWxzZSB7CiAgICAJY291dDw8Ik5PVCI7CiAgICB9CgoKCgoKCgoKCgoKCgoKCgoKCgoJcmV0dXJuIDA7Cn0=