solved 132 using modular exponentiation