import sys input = sys.stdin.readline n = int(input()) _, s = input()[:-1].split('.') if(len(s) == 1): s += '0' r = 100 - int(s) dep = 0 now = 100 for _ in [0] * n: dep = dep * 100 + now now *= r s = str(dep) dec_pt = len(s) - (n - 1) * 2 ans = ''.join([s[:dec_pt], '.', s[dec_pt:]]).rstrip('0').rstrip('.') print(ans)