#K8601. Smallest Number with Exactly n Fives

    ID: 36769 Type: Default 1000ms 256MiB

Smallest Number with Exactly n Fives

Smallest Number with Exactly n Fives

You are given a positive integer \( n \). Your task is to output the smallest number which contains exactly \( n \) digits '5'.

The solution is straightforward: the answer is simply a string composed of exactly \( n \) consecutive '5' characters. For example, if \( n = 3 \), then the output should be "555".

Input Format: A single integer \( n \) is provided as input via standard input.

Output Format: Output the string consisting of \( n \) digits '5' via standard output.

Note: \( 1 \leq n \leq 10^4 \) (for instance).

inputFormat

The input consists of a single line containing a positive integer n.

Example:

3

outputFormat

Output a single line containing the smallest number that consists of exactly n digits '5'.

Example:

555
## sample
1
5