file = File.open("./input") instructions = file.read().replace("\n").split(", ") puts str(instructions)