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