#t307. 位数问题(bit)

位数问题(bit)

The Digit Problem

Problem Background

Special for beginners, ^_^

Problem Description

Among all NN-digit numbers, how many have an even number of digit 33? Since the result may be very large, you only need to output this answer modulo 1234512345.

Input Format

Read a number NN (1≤N≤10001\le N \le 1000).

Output Format

Output how many numbers contain an even number of digit 33.

Sample Input 1

2

Sample Output 1

73

Hint

Among all 22-digit numbers, 7272 have 00 digit 33 and 11 has 22 digits 33, for a total of 7373.

Constraints

1s, 1024KiB for each test case.