Task 5#7600

Task 5

1 second
64 megabytes
Very easy

Determine the solution to the problem based on the given variant number .

n=1: Find the sum of all three-digit numbers where each digit is even.

n=2: Count the number of three-digit numbers where the digits are in strictly increasing order.

n=3: Find the sum of all three-digit numbers where each digit is odd.

n=4: Count the number of three-digit numbers where the digits are in strictly decreasing order.

n=5: Find the sum of all three-digit numbers that are equal to the sum of the cubes of their digits.

n=6: Count the number of three-digit numbers where all the digits are distinct.

Input

A single integer , where 1 \le n \le 6.

Output

Provide the solution corresponding to the variant number .

Examples

Example 1

Loading
Loading