


from __future__ import annotations

from typing import Any






def  __lowerCAmelCase					(SCREAMING_SNAKE_CASE      )->						int:




      """simple docstring"""

      if not postfix_notation:
            return 0

      snake_case_ =   {'''+''', '''-''', '''*''', '''/'''}
      snake_case_ =   []

      for token in postfix_notation:
            if token in operations:
                  snake_case_ ,					snake_case_ =   stack.pop(), stack.pop()
                  if token == "+":
                        stack.append(a + b      )
                  elif token == "-":
                        stack.append(a - b      )
                  elif token == "*":
                        stack.append(a * b      )
                  else:
                        if a * b < 0 and a % b != 0:
                              stack.append(a // b + 1      )
                        else:
                              stack.append(a // b      )
            else:
                  stack.append(int(SCREAMING_SNAKE_CASE      )      )

      return stack.pop()


if __name__ == "__main__":
   import doctest

   doctest.testmod()



import requests






def  __lowerCAmelCase					(SCREAMING_SNAKE_CASE      ,      SCREAMING_SNAKE_CASE      )->						None:




      """simple docstring"""

      snake_case_ =   {'''Content-Type''': '''application/json'''}
      snake_case_ =   requests.post(SCREAMING_SNAKE_CASE      ,      json={'''text''': message_body}      ,      headers=SCREAMING_SNAKE_CASE      )
      if response.status_code != 200:
            snake_case_ =   (
                '''Request to slack returned an error '''
                f'''{response.status_code}, the response is:\n{response.text}'''
            )
            raise ValueError(SCREAMING_SNAKE_CASE      )


if __name__ == "__main__":
   # Set the slack url to the one provided by Slack when you create the webhook at
   # https://my.slack.com/services/new/incoming-webhook/
   send_slack_message("""<YOUR MESSAGE BODY>""", """<SLACK CHANNEL URL>""")