Application of STL

In this problem, we make calculation from a post-fix equation. Suppose, this equation contains one digit and no Bracket.

Input:
56*23-+ (actual equation 5*6+2-3 )
57+6-1+ (actual equation 5+7-6+1 )
Output:
27
7

মন্তব্যসমূহ