So I'm trying to find $9^{65}\pmod{77}$.
What I've done:
I used Fermat's little theorem and separated them into $9^{65}\pmod7$ and $9^{65}\pmod{11}$, where I got the remainders to be $4$ and $1$ respectively. Now, I have no idea what to do from this point. What is the best way to combine both to get the final answer?