public void solve(int testNumber, Scanner in, PrintWriter out) {
    if(testNumber==1)out.println("Lumberjacks:");
    for (int i = 0; i < 10; i++) lengths[i] = in.nextInt();
    if(isAscending() || isDescending()) out.println("Ordered");
    else out.println("Unordered");
  }