if __name__ == "__main__":
    n = int(input())

    f = []
    name = []
    for i in range(n):
        name.append(i)
    for i in range(n):
        f.append(1)

    def fibonacci():
        for i in range(2, n):
            f[i] = f[i-1] + f[i-2]
        return f

    for j in range(1, n+1):
        f = fibonacci()
        if j in f:
            name[j-1] = 'O'
        else:
            name[j-1] = 'o'

    name_str = ''.join(name)

    print(name_str)
		    			      	  		 					  	