 The table below illustrates each step in the process.Here the state refers to the element at the top of the stack (the right-most element), and the next action is determined by referring to the action table above.A $ is appended to the input string to denote the end of the stream.