"""
[2015-03-11] Challenge #205 [Intermediate] RPN

https://www.reddit.com/r/dailyprogrammer/comments/2yquvm/20150311_challenge_205_intermediate_rpn/

#Description:
My father owned a very old HP calculator. It was in reverse polish notation (RPN). He would hand me his calculator and
tell me "Go ahead and use it". Of course I did not know RPN so everytime I tried I failed.
So for this challenge we will help out young coder_d00d. We will take a normal math equation and convert it into RPN.
Next week we will work on the time machine to be able to send back the RPN of the math equation to past me so I can use
the calculator correctly.
#Input:
A string that represents a math equation to be solved. We will allow the 4 functions, use of () for ordering and thats
it. Note white space between characters could be inconsistent.
* Number is a number
* "+" add
* "-" subtract
* "/" divide
* "x" or "*" for multiply
* "(" with a matching ")" for ordering our operations
#Output:
The RPN (reverse polish notation) of the math equation.
#Challenge inputs:
Note: "" marks the limit of string and not meant to be parsed.
     "0+1"
     "20-18"
     " 3               x                  1   "
     " 100    /                25"
     " 5000         /  ((1+1) / 2) * 1000"
     " 10 * 6 x 10 / 100"
     " (1 + 7 x 7) / 5 - 3  "
     "10000 / ( 9 x 9 + 20 -1)-92"
     "4+5 * (333x3 /      9-110                                      )"
     " 0 x (2000 / 4 * 5 / 1 * (1 x 10))"
#Additional Challenge:
Since you already got RPN - solve the equations.
"""


def main():
    pass


if __name__ == "__main__":
    main()

45f4274945cd2b65da5e58de856f9462a1b9c48a
<mask token>

<mask token>


def main():
    pass


<mask token>

<mask token>


def main():
    pass


if __name__ == '__main__':
    main()

"""
[2015-03-11] Challenge #205 [Intermediate] RPN

https://www.reddit.com/r/dailyprogrammer/comments/2yquvm/20150311_challenge_205_intermediate_rpn/

#Description:
My father owned a very old HP calculator. It was in reverse polish notation (RPN). He would hand me his calculator and
tell me "Go ahead and use it". Of course I did not know RPN so everytime I tried I failed.
So for this challenge we will help out young coder_d00d. We will take a normal math equation and convert it into RPN.
Next week we will work on the time machine to be able to send back the RPN of the math equation to past me so I can use
the calculator correctly.
#Input:
A string that represents a math equation to be solved. We will allow the 4 functions, use of () for ordering and thats
it. Note white space between characters could be inconsistent.
* Number is a number
* "+" add
* "-" subtract
* "/" divide
* "x" or "*" for multiply
* "(" with a matching ")" for ordering our operations
#Output:
The RPN (reverse polish notation) of the math equation.
#Challenge inputs:
Note: "" marks the limit of string and not meant to be parsed.
     "0+1"
     "20-18"
     " 3               x                  1   "
     " 100    /                25"
     " 5000         /  ((1+1) / 2) * 1000"
     " 10 * 6 x 10 / 100"
     " (1 + 7 x 7) / 5 - 3  "
     "10000 / ( 9 x 9 + 20 -1)-92"
     "4+5 * (333x3 /      9-110                                      )"
     " 0 x (2000 / 4 * 5 / 1 * (1 x 10))"
#Additional Challenge:
Since you already got RPN - solve the equations.
"""


def main():
    pass


if __name__ == "__main__":
    main()
