Fibonacci strings generation#8295

Fibonacci strings generation

1 second
128 megabytes
Medium (≈1350)

Generate the -th Fibonacci string, which is defined by the following recurrence relation:

For example:

f(3) = f(2) + f(1) = (f(1) + f(0)) + f(1) = "b" + "a" + "b" = "bab"

Input

One integer n~(0 \le n \le 20).

Output

Print the -th Fibonacci string.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading