a = int(input('Taxa banco A: ')) b = int(input('Taxa banco B: ')) c = int(input('Taxa banco C: ')) CAP = 2500 MESES = 12 a = CAP * (1 + (a/100)) ** MESES b = CAP * (1 + (b/100)) ** MESES c = CAP * (1 + (c/100)) ** MESES if( a > b and a > c): print('A:', round(a, 2)) if(b > c): print('B:', round(b, 2)) print('C:', round(c, 2)) else: print('C:', round(c, 2)) print('B:', round(b, 2)) elif(b > a and b > c): print('B:', round(b, 2)) if(a > c): print('A:', round(a, 2)) print('C:', round(c, 2)) else: print('C:', round(c, 2)) print('A:', round(a, 2)) else: print('C:', round(c, 2)) if(a > b): print('A:', round(a, 2)) print('B:', round(b, 2)) else: print('B:', round(b, 2)) print('A:', round(a, 2))