def make_check_fibo():
	fibonacci_numbers = [0, 1]
	for i in range(2,18):
	    fibonacci_numbers.append(fibonacci_numbers[i-1]+fibonacci_numbers[i-2])
	return fibonacci_numbers

def main():
	n = int(input("Enter length of name: "));
	name = ["o"]*n
	for i in range(1, len(name)+1):
		if(i in make_check_fibo()):
			name[i-1] = "O"
	print(''.join(name)); 

if __name__ == '__main__':
	main()