{"problem":{"name":"Ubiquity","description":{"content":"How many integer sequences $A_1,A_2,\\ldots,A_N$ of length $N$ satisfy all of the following conditions? *   $0 \\leq A_i \\leq 9$ *   There exists some $i$ such that $A_i=0$ holds. *   There exists some","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc178_c"},"statements":[{"statement_type":"Markdown","content":"How many integer sequences $A_1,A_2,\\ldots,A_N$ of length $N$ satisfy all of the following conditions?\n\n*   $0 \\leq A_i \\leq 9$\n*   There exists some $i$ such that $A_i=0$ holds.\n*   There exists some $i$ such that $A_i=9$ holds.\n\nThe answer can be very large, so output it modulo $10^9 + 7$.\n\n## Constraints\n\n*   $1 \\leq N \\leq 10^6$\n*   $N$ is an integer.\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$N$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc178_c","tags":[],"sample_group":[["2","2\n\nTwo sequences ${0,9}$ and ${9,0}$ satisfy all conditions."],["1","0"],["869121","2511445"]],"created_at":"2026-03-03 11:01:14"}}