D = int(input()) tax = str(D*8).zfill(3) seisu, shosu = int(tax[:-2]), tax[-2:] ans = str(D + seisu) + '.' + shosu print(ans)