Rating:

TL;DR bypass numeric only WAF via string coercion and bitwise operators, solve readflag via previously known ways.

Full description available in the writeup!

Original writeup (https://waituck.sg/2020/06/10/rctf-2020-calc-writeup.html).