






'''simple docstring'''
import operator as op




def 		__SCREAMING_SNAKE_CASE					(  _UpperCamelCase							):


   """simple docstring"""




   lowercase_	:    Optional[Any]           =     []
   lowercase_	:    List[Any]           =     lambda _UpperCamelCase						,		_UpperCamelCase							: int(x / y							)  # noqa: E731 integer division operation
   lowercase_	:    List[str]           =     {
       "^": 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(_UpperCamelCase							))							)

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

         lowercase_	:    Optional[int]           =     stack.pop()  # pop stack
         # output in tabular format
         print("".rjust(8							)						,		("pop(" + a + ")").ljust(12							)						,		",".join(_UpperCamelCase							)						,		sep=" | "							)

         stack.append(
             str(opr[x](int(_UpperCamelCase							)						,		int(_UpperCamelCase							)							)							)							)  # 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(_UpperCamelCase							)						,		sep=" | "						,		)

   return int(stack[0]							)


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












'''simple docstring'''
def 		__SCREAMING_SNAKE_CASE					(  _UpperCamelCase = 200							):


   """simple docstring"""




   lowercase_	:    Optional[int]           =     [1, 2, 5, 10, 20, 50, 100, 200]
   lowercase_	:    str           =     [0] * (pence + 1)
   lowercase_	:    Dict           =     1  # base case: 1 way to make 0 pence

   for coin in coins:
      for i in range(_UpperCamelCase						,		pence + 1						,		1							):
         number_of_ways[i] += number_of_ways[i - coin]
   return number_of_ways[pence]


if __name__ == "__main__":
 assert solution(200) == 73682




