#include using namespace std; typedef unsigned long long ull; typedef long long ll; typedef string str; const ll mod = 1e9 + 7; int main() { ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0); ll a, b, c; cin >> a >> b >> c; cout << "A+B+C="; if (a == b && b == c && c == 1) cout << "Infinity\n"; else cout << a + b + c << "\n"; return 0; }