#P1269A. Equation

Equation

Description

Let's call a positive integer composite if it has at least one divisor other than 11 and itself. For example:

  • the following numbers are composite: 10241024, 44, 66, 99;
  • the following numbers are not composite: 1313, 11, 22, 33, 3737.

You are given a positive integer nn. Find two composite integers a,ba,b such that ab=na-b=n.

It can be proven that solution always exists.

The input contains one integer nn (1n1071 \leq n \leq 10^7): the given integer.

Print two composite integers a,ba,b (2a,b109,ab=n2 \leq a, b \leq 10^9, a-b=n).

It can be proven, that solution always exists.

If there are several possible solutions, you can print any.

Input

The input contains one integer nn (1n1071 \leq n \leq 10^7): the given integer.

Output

Print two composite integers a,ba,b (2a,b109,ab=n2 \leq a, b \leq 10^9, a-b=n).

It can be proven, that solution always exists.

If there are several possible solutions, you can print any.

Sample Input 1

1

Sample Output 1

9 8

Sample Input 2

512

Sample Output 2

4608 4096