corrected result, it returned a list of two elements (n,s) instead of
just a pair (n,s)
Corrected type return encode of p10 just to do p11 with Phil Gold
alternative solution to p11
p11 solved