Suppose we have a clock with $24$ hours and it's $12$ o'clock. I need to calculate what time it will be after $100^{100}$ hours.
Obviously I just have to calculate $100^{100}=4 \pmod {24}$
So I started by $100=4 \pmod {24}$ but I cannot go anywhere from here.
I also tried typing it as $100=-20 \pmod {24}$ which didn't prove to be helpful either. Could someone help me with this one?