Marco is a mathematician. He has a calculator that can solve problems.
Unfortunately, his calculator is infected by a bug.
He dared to try some math problems but now the equations look like this:
21 + 30 = 18
192 - 63 = 2
49 - 12 = 3
234 + 653 = 30
What is the logic of this bug?
Hint: The name of this bug is Seven Segment.