#include <iostream> using namespace std; int main(){ int n; cin>>n; if(n/3&&n/5){ cout<<"can"; }else cout<<"cannot"; }