Modular addition in python,x = (x + y) % 48