Performs basic calculations.

<instruction>
- Supports +, -, *, /, %, ** and parentheses
- Supports decimal, hex (0x), binary (0b), and octal (0o) literals
</instruction>

<output>
Returns each calculation result with its prefix and suffix applied.
</output>
