Problem: https://cses.fi/problemset/task/1095/ Covers: Modular arithmetic framework, exponentiation by squaring
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.