d = input(); if (d > 10000) : print int(d*1.08) else : print d*1.08