けんき says to YSITD
我卡在26^n mod M