코드포스 479A 풀이 a=int(input()) b=int(input()) c=int(input()) if a==1: if b==1 and c!=1: print((a+b)*c) elif b!=1 and c==1: print((a+b)+c) elif b==1 and c==1: print(a+b+c) else: print((a+b)*c) elif b==1: if a 코드포스 풀이 2022.01.30