#include using namespace std; typedef long long ll; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define INF32 2147483647 #define ALL(x) x.begin(), x.end() vector ddx = {0, 1, 0, -1, 1, 1, -1, -1}; vector ddy = {1, 0, -1, 0, 1, -1, -1, 1}; int main() { map mp; int th = 0; int tw = 0; rep(i,5){ int t;cin>>t; mp[t]++; } rep(i,14){ if(mp[i] == 3)th++; if(mp[i] == 2)tw++; } if(th && tw){ cout<< "FULL HOUSE" <