How to deal with bigger modulo?

How to calculate (ax)%(1010+11)

1<=a<=32

1<=x<=105

@hemanth_1 can you share the link of the ongoing contest where this is from?

https://www.hackerearth.com/challenge/test/cognizant-mastercode/

//