n = int(input()) for x in range(1,n): if '3' in str(x): print(x,end=" ")
Main.cc:1:1: error: 'n' does not name a type n = int(input()) ^