Implementation

  from sage.all import ZZ

def attack(e, c):
    return int(ZZ(c).nth_root(e))