How can I calculate it in C?

20X(77^2) mod 119

It's too big... even can't use pow/%/mod.....

thx!!