import java.util.*;
import java.lang.*;
import java.io.*;
class Ideone {
int MOD = 1000_000_007;
int a = 1000_000;
int b = 1000_000;
int c = ( a * b ) % MOD;
// first trick
long c2 = ( 1L * a * b ) % MOD;
// or use bigger type
long A = a;
long B = b;
long c3 = ( A * B ) % MOD;
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgpjbGFzcyBJZGVvbmUgewoKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbiB7CiAgICAJaW50IE1PRCA9IDEwMDBfMDAwXzAwNzsKCSAgICBpbnQgYSA9IDEwMDBfMDAwOwogICAgCWludCBiID0gMTAwMF8wMDA7CgkgICAgaW50IGMgPSAoIGEgKiBiICkgJSBNT0Q7CgkJU3lzdGVtLm91dC5wcmludGxuKCBjICk7CgoJCS8vIGZpcnN0IHRyaWNrCgkgICAgbG9uZyBjMiA9ICggMUwgKiBhICogYiApICUgTU9EOwoJCVN5c3RlbS5vdXQucHJpbnRsbiggYzIgKTsKCgkJLy8gb3IgdXNlIGJpZ2dlciB0eXBlCgkJbG9uZyBBID0gYTsKCQlsb25nIEIgPSBiOwoJICAgIGxvbmcgYzMgPSAoIEEgKiBCICkgJSBNT0Q7CgkJU3lzdGVtLm91dC5wcmludGxuKCBjMyApOwoJfQp9