#include using namespace std; int main() { int n; cin >> n; n = n % 5; if (n <= 3 && n>=1) cout << "fishing"; else cout << "sleeping"; return 0; }