#include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>

int main() {
  uint32_t S = 0, W = 0;
  std::cin >> S >> W;

  std::cout << (S <= W ? "unsafe" : "safe") << std::endl;

  return 0;
}