import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.Comparator;


public final class practice {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(br.readLine());
        for(int i = 1 ; i <= n ; i++) {
            if(isFibonacci(i)) {
                System.out.print("O");
            } else
                System.out.print("o");
        }
    }

    public static boolean isFibonacci(int n) {
        if(n == 1)
            return true;
        if(n == 2)
            return true;
        int a = 1;
        int b = 2;
        for(int i = 0 ; ; i++) {
            int c = a + b ;
            a = b ;
            b = c;
            if(c == n)
                return true;
            if(c > n)
                return false;
        }
    }
}