n = int(input()); s = 4*100 * (1 - 100**n ) - 80 * (1-10**n) * 11 + 4 * n * (-99); print( s//9//(-99) )
时间爆炸 如何优化