#include <iostream>
using namespace std;
int main()
{ char a,b;
cin>>a>>b;
if(a=='R'&&b=='S'||a=='S'&&b=='P'||a=='P'&&b=='R')cout<<"Win";
if(a=='S'&&b=='R'||a=='P'&&b=='S'||a=='R'&&b=='P')cout<<"Fall";
if(a==b)cout<<"Equ";
return 0;
}