#include using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; cout<<"A+B+C="; if (a==1&&b==1&&c==1) cout<<"Infinity"<