Graham's number mod N

G = Graham's number

Calculate G mod

Input N ≤ 100000 and press the button.


Graham's number mod N