<prompt> Unda hati ya chatu inayoiga kikokotoo rahisi chenye shughuli za kimsingi kuongeza, kutoa, kuzidisha, kugawanya kwa kutumia algoriti ya Shunting Yard kuchanganua usemi wa hisabati.PLINFORMAT  <response>: Calculator rahisi kwa kutumia algorithm ya Shunting Yarddef shunting_yardmaneno: def apply_operatorwaendeshaji, maadili: operator operators.pop kulia values.pop kushoto values.pop ikiwa mwendeshaji : values.ongeza kushoto kulia elif operator -: values.ongeza kushoto - kulia elif operator : values.ongeza kushoto kulia elif operator : values.ongeza kushoto kulia def great_precedenceop1, op2: yaliyotangulia : 1, -: 1, : 2, : 2 kurudi utanguliziop1 utanguliziop2 waendeshaji maadili mimi 0 wakati mimi lenmaneno: ikiwa usemii : mimi 1 endelea ikiwa usemii katika 0123456789: j i wakati j lenexpression na usemij katika 0123456789: j 1 values.appendintexpressioni:j mimi j kwingine: wakati waendeshaji na waendeshaji-1 ! na great_precedencewaendeshaji-1, usemii: apply_operatorwaendeshaji, maadili waendeshaji.ambatishamanenoi mimi 1 wakati waendeshaji: apply_operatorwaendeshaji, maadili maadili ya kurejesha0kama __name__ __main__: usemi 3 5 chapafexpression shunting_yardmaneno usemi 10 2 6 chapafexpression shunting_yardmaneno usemi 100 2 12 chapafexpression shunting_yardmaneno usemi 100 2 12 chapafexpression shunting_yardmaneno usemi 100 2 12 14 chapafexpression shunting_yardmaneno 