#include "bits/stdc++.h" using namespace std; #define print(x) cout< PI; typedef pair V; typedef vector VE; const ll mod = 1000000007; //10^9+7 int main(){ ll a, b; cin >> a >> b; a %= mod; b %= mod; ll ans = (a * b) % mod; print(ans); }