103360: [Atcoder]ABC336 A - Long Loong

Memory Limit:256 MB Time Limit:2 S
Judge Style:Text Compare Creator:
Submit:2 Solved:0

Description

Score: $100$ points

Problem Statement

For a positive integer $X$, the Dragon String of level $X$ is a string of length $(X+3)$ formed by one L, $X$ occurrences of o, one n, and one g arranged in this order.

You are given a positive integer $N$. Print the Dragon String of level $N$.
Note that uppercase and lowercase letters are distinguished.

Constraints

  • $1 \leq N \leq 2024$
  • $N$ is an integer.

Input

The input is given from Standard Input in the following format:

$N$

Output

Print the Dragon String of level $N$.


Sample Input 1

3

Sample Output 1

Looong

Arranging one L, three os, one n, and one g in this order yields Looong.


Sample Input 2

1

Sample Output 2

Long

Input

Output

得分:100分

问题描述

对于正整数$X$,第$X$级的“龙字符串”是一个由一个L、$X$个o、一个n和一个g按此顺序排列的长度为$(X+3)$的字符串。

给你一个正整数$N$。打印第$N$级的龙字符串。

注意,区分大小写。

约束条件

  • $1 \leq N \leq 2024$
  • $N$是整数。

输入

输入以标准输入的形式给出如下格式:

$N$

输出

打印第$N$级的龙字符串。


样例输入1

3

样例输出1

Looong

按顺序排列一个L、三个o、一个n和一个g得到Looong


样例输入2

1

样例输出2

Long

加入题单

算法标签: