#include int n; int main() { while (1) { cin >> n; if (n==0) break; if (n%2==0 || n%3==0) cout << "Kralovny se nevejdou."<