#include <bits/stdc++.h>
using namespace std;
long long MOD = 1000000007;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long n;
  cin >> n;
  long long f[2000];
  long long vis[2000];
  for (long long int i = 1; i <= 1000; i++) vis[i] = 0;
  f[1] = f[2] = vis[1] = vis[2] = 1;
  for (long long int i = 3; i <= 1000; i++) {
    f[i] = f[i - 1] + f[i - 2];
    if (f[i] > 1000) break;
    vis[f[i]] = 1;
  }
  for (long long int i = 1; i <= n; i++) {
    if (vis[i])
      cout << 'O';
    else
      cout << 'o';
  }
  return 0;
}
