N = 1001
f = [0]*N
f[0] = 1
f[1] = 1
for i in range(2,N):
	f[i] = f[i-2]+f[i-1]
n = int(raw_input())
s = [None]*n
start = 1
for i in range(n):
	if(f[start]==(i+1)):
		s[i] = 'O'
		start += 1
	else:
		s[i] = 'o'
print ''.join(s)