func main() const mod: int :: 1000007 var n: int :: cui@inputInt() var ans: int :: (((n + 3) / 2) % mod * ((n + 2) / 2) % mod + mod - 1) % mod do cui@print("\{ans}\n") end func