7bd81d034a5d59ced58f502150c9c40fc4dac1e365c0f208e4366ed614f0ef0a
// tresc: https://szkopul.edu.pl/problemset/problem/D-n2vfNHbu5eyM6F9Mwc8Hpn/site/?key=statement
// OIG XIV (1 etap)
#include <iostream>
int main() {
std::ios_base::sync_with_stdio(0);
std::cout.tie(0);
int N;
std::cin >> N;
for (int i = 1; i <= N; i++) {
if (i % 77 == 0) {
std::cout << "Wiwat!\n";
} else if (i % 11 == 0) {
std::cout << "Super!\n";
} else if (i % 7 == 0) {
std::cout << "Hurra!\n";
} else {
std::cout << i << '\n';
}
}
return 0;
}