{"raw_statement":[{"iden":"problem statement","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$."},{"iden":"constraints","content":"*   $1 \\leq N \\leq 10^6$\n*   $N$ is an integer."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$N$"},{"iden":"sample input 1","content":"2"},{"iden":"sample output 1","content":"2\n\nTwo sequences ${0,9}$ and ${9,0}$ satisfy all conditions."},{"iden":"sample input 2","content":"1"},{"iden":"sample output 2","content":"0"},{"iden":"sample input 3","content":"869121"},{"iden":"sample output 3","content":"2511445"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}