#include <bits/stdc++.h>
using namespace std;
long long int n, i, x, y, z, j, len, cnt(0), sum = 0, a, b, c, temp, d;
int arr[100000];
int dp[1000];
int two[1000][1000];
string str, st;
int check(int n) {}
int main() {
  cin >> n;
  for (i = 1; i <= n; i++) {
    if (i == 1 || i == 2 || i == 3 || i == 5 || i == 8 || i == 13 || i == 21 ||
        i == 34 || i == 55 || i == 89 || i == 144 || i == 233 || i == 377 ||
        i == 610 || i == 987) {
      cout << "O";
    } else {
      cout << "o";
    }
  }
  return 0;
}
