


"""simple docstring"""






import operator as op







def        lowerCamelCase_(		_lowerCamelCase       )    ->     Tuple:
   '''simple docstring'''





   _lowerCamelCase   :				Optional[int]							=     []
   _lowerCamelCase   :				Union[str, Any]							=     lambda _lowerCamelCase			,		_lowerCamelCase       : int(x / y       )  # noqa: E731 integer division operation
   _lowerCamelCase   :				Optional[int]							=     {
       "^": op.pow,
       "*": op.mul,
       "/": div,
       "+": op.add,
       "-": op.sub,
   }  # operators & their respective operation

   # print table header
   print("Symbol".center(8       )			,		"Action".center(12       )			,		"Stack"			,		sep=" | "       )
   print("-" * (30 + len(_lowerCamelCase       ))       )

   for x in post_fix:
      if x.isdigit():  # if x in digit
         stack.append(_lowerCamelCase       )  # append x to stack
         # output in tabular format
         print(x.rjust(8       )			,		("push(" + x + ")").ljust(12       )			,		",".join(_lowerCamelCase       )			,		sep=" | "       )
      else:
         _lowerCamelCase   :				Optional[Any]							=     stack.pop()  # pop stack
         # output in tabular format
         print("".rjust(8       )			,		("pop(" + b + ")").ljust(12       )			,		",".join(_lowerCamelCase       )			,		sep=" | "       )

         _lowerCamelCase   :				Tuple							=     stack.pop()  # pop stack
         # output in tabular format
         print("".rjust(8       )			,		("pop(" + a + ")").ljust(12       )			,		",".join(_lowerCamelCase       )			,		sep=" | "       )

         stack.append(
             str(opr[x](int(_lowerCamelCase       )			,		int(_lowerCamelCase       )       )       )       )  # evaluate the 2 values popped from stack & push result to stack
         # output in tabular format
         print(
             x.rjust(8       )			,		("push(" + a + x + b + ")").ljust(12       )			,		",".join(_lowerCamelCase       )			,		sep=" | "			,		)

   return int(stack[0]       )


if __name__ == "__main__":
  _lowerCAmelCase							:    Optional[Any]					   =	input('''\n\nEnter a Postfix Equation (space separated) = ''').split(''' ''')
  print('''\n\tResult = ''', solve(Postfix))





"""simple docstring"""

def 		_snake_case	(   _snake_case				:   str				)       ->   str:






      '''simple docstring'''


      return " ".join(
          ''.join(word[::-1]				) if len(_snake_case				) > 4 else word for word in sentence.split()				)


if __name__ == "__main__":
       import doctest

       doctest.testmod()
       print(reverse_long_words('''Hey wollef sroirraw'''))

