#include #include #include int main(){ unsigned long long a,b; scanf("%llu%llu",&a,&b); printf("%llu\n",a*b%1000000007); return 0; }