main(a,b) { scanf("%d%d",&a,&b); printf("%lld\n",(long)a*b%(long long)(1e+9+7)); }