n = readline();

var i = 1, arr = [1, 1], resArr = [];

while (arr[i] < n) {
	arr.push(arr[i - 1] + arr[i]);

	i++;
};

for (var j = 1; j <= n; j++) {
	var count = 0;

	for (var k = 0; k < arr.length; k++) {
		if (j == arr[k]) {
			count++;
		};
	};

	if (count > 0) {
		resArr.push('O');
	} else {
		resArr.push('o');
	};
};


print(resArr.join(''));
