import java.util.Scanner object Main extends App { val sc = new Scanner(System.in) val n = sc.nextInt println(n % 1000000007) }