The term Fibonacci words is used to stipulate a row of words that are constructed in the same manner as the Fibonacci sequence1:
the zeroth Fibonacci word is a
the first Fibonacci word is b
for $$n > 1$$, the $$n$$th Fibonacci word is built by merging the $$(n-1)$$th and $$(n-2)$$th Fibonacci word
The input consists of a single line containing the number $$n \in \mathbb{N}$$.
The output consists of a single line containing the $$n$$th Fibonacci word.
Input:
1
Output:
b
Input:
5
Output:
babbabab