n = 5700102857084805454304483466349768960970728516788155745115335016563400814300152521175777999545445613444815936222559357974566843756936687078467221979584601 avg = 75635892913589759545076958131039534718834447688923830032758709253942408722875 c = 888629627089650993173073530112503758717074884215641346688043288414489462472394318700014742820213053802180975816089493243275025049174955385229062207064503
n = 5700102857084805454304483466349768960970728516788155745115335016563400814300152521175777999545445613444815936222559357974566843756936687078467221979584601 avg = 75635892913589759545076958131039534718834447688923830032758709253942408722875 c = 888629627089650993173073530112503758717074884215641346688043288414489462472394318700014742820213053802180975816089493243275025049174955385229062207064503 phi = n - avg*2 + 1 e = 65537 import gmpy2 d = gmpy2.invert(e,phi) m = pow(c,d,n) long_to_bytes(m)