Machine Language Input-Output 6 Hello Readers, When a word and number arrangement machine is given an input line of words…