#include using namespace std; int main(){ long long int a,b,c; c = 1000000007; cin >> a >> b; cout << ((a%c)*(b%c))%c <