Harry and Ron are no longer passionate about Wizardry. They have left Hogwarts and joined the School of Combinatorics. Hermione misses them now and she wants to join the school too. If only she answers a simple problem, she'll be admitted. However, she's too bad at it. She's given a number N and asked to find the sum of all N-digit natural numbers which must contain at least one odd digit and at least one even digit. Help her find the solution so that she's back with her friends.
There would be several test cases in the input file. Each test case consists of a single integer N.
For each test case print the sum of all N-digit natural numbers which contains at least one odd digit and at least one even digit.
Case #1: 2450
Problem Setter: Anjali Singh