bool arithmeticExpression(int A, int B, int C) { return A + B == C || A - B == C || A * B == C || A / B == C && A % B == 0; }