#include<bits/stdc++.h>
using namespace std;
string str;
int GetPriority(char ch){
if(ch == '#') return 0;
else if(ch == '$') return 1;
else if(ch == '+' || ch == '-') return 2;
else return 3;
}
double Calculate(double a,double b,char ch){
if(ch == '+') retur...