#include using namespace std; using ll = int64_t; using ul = uint64_t; using ld = long double; using vi = vector; using vd = vector; using vc = vector; using vs = vector; using vb = vector; using vl = vector; using vvi = vector; using vvd = vector; using vvc = vector; using vvb = vector; using vvl = vector; int main() { int A,B,C; cin >> A >> B >> C; cout << "A+B+C="; if (A == B && B == C && A == 1) cout << "Infinity" << endl; else cout << A + B + C << endl; return 0; }