n=int(input()) x=1 cur=9 while True: sup=cur*cur if sup