Removed ReadLine in main() and converted to x86