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