Codeforces Round 411 (Div. 2)
B
3-palindrome
Codeforces
1000
原题
← AC →
翻译中…

In the beginning of the new year Keivan decided to reverse his name. He doesn't like palindromes, so he changed Naviek to Navick.

翻译中…

He is too selfish, so for a given $*n*$ he wants to obtain a string of $*n*$ characters, each of which is either 'a', 'b' or 'c', with no palindromes of length $3$ appearing in the string as a substring. For example, the strings "abc" and "abca" suit him, while the string "aba" doesn't. He also want the number of letters 'c' in his string to be as little as possible.

翻译中…

Input

翻译中…

The first line contains single integer $*n*$ ($1 ≤ *n* ≤ 2·10^{5}$) — the length of the string.

翻译中…

Output

翻译中…

Print the string that satisfies all the constraints.

翻译中…

If there are multiple answers, print any of them.

翻译中…

Note

翻译中…

A palindrome is a sequence of characters which reads the same backward and forward.

翻译中…

样例

Input #1
2
Output #1
aa
InputCopy OutputCopy
Input #2
3
Output #2
bba
InputCopy OutputCopy
题目信息
题号
805B
时间限制
1 s
内存限制
256 MB
标签
构造

题面与样例版权归 Codeforces 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。