input: def mod_exp(n: int, p: int):
      """Compute 2 raised to the power of n, then take the result modulo p.
      >>> mod_exp(3, 5)
      3
      >>> mod_exp(1101, 101)
      2
      >>> mod_exp(0, 101)
      1
      >>> mod_exp(3, 11)
      8
      >>> mod_exp(100, 101)
      1
      """
output:     return pow(2, n, p)