def addition(a, b):
    """ Addition modulo 2^16
    :param a: <int>
    :param b: <int>
    :return: result: <int>
    """

    result = (a + b) % 0x10000
    assert 0 <= result <= 0xFFFF

    return result