#include using namespace std; int main(void){ int a,b,c; cin>>a>>b>>c; cout<<"A+B+C="<<(a+b+c==3?"Infinity":to_string(a+b+c))<