@@ -0,0 +1,726 @@
+// http://codeforces.com/problemset/problem/918/A%0A%0Aimport java.util.Scanner;%0A%0Apublic class Solution %7B%0A%09%0A%09public static void main(String%5B%5D args) %7B%0A%09%09Scanner read = new Scanner(System.in);%0A%09%09%0A%09%09int n = read.nextInt();%0A%09%09%0A%09%09StringBuilder name = new StringBuilder();%0A%09%09for (int i = 1; i %3C= n; ++i) %7B%0A%09%09%09if (isFibonacciNumber(i)) %7B%0A%09%09%09%09name.append(%22O%22);%0A%09%09%09%7D%0A%09%09%09else %7B%0A%09%09%09%09name.append(%22o%22);%0A%09%09%09%7D%0A%09%09%7D%0A%09%09%0A%09%09System.out.println(name);%0A%09%09%0A%09%09// Close scanner%0A%09%09read.close();%0A%09%7D%0A%0A%09private static boolean isFibonacciNumber(int i) %7B%0A%09%09return isPerfectSquare(5*i*i + 4) %7C%7C isPerfectSquare(5*i*i - 4);%0A%09%7D%0A%09%0A%09private static boolean isPerfectSquare(int number) %7B%0A%09%09int sqrt = (int) Math.sqrt(number);%0A%09%09return ( number == (sqrt*sqrt) );%0A%09%7D%0A%09%0A%7D%0A

Create Eleven.java