exec(""" gen_code() def gen_code(): return 'print(1)' """)
exec(""" def gen_code(): return 1 print(gen_code()) """)