using System; using System.Linq; class No666{ static void Main(){ var answer=Console.ReadLine().Split(' ').Select(x=>Int64.Parse(x)).Aggregate((x,y)=>x*y); answer=answer%1000000007; //答えを出力 Console.WriteLine(answer); } }