public void solve() throws IOException {
    String input = nextToken().toUpperCase();
    int[] cumsum = new int[input.length() + 1];
    cumsum[0] = 0;
    int start = -1;
    for (int x = 0; x < input.length(); x++) {
      cumsum[x + 1] = cumsum[x] + Vowel(input.charAt(x));
      if (start == -1 && Vowel(input.charAt(x)) == 2)
        start = x;
    }

    System.out.println(start);

    int maxlen = 0;
    int count = 0;
    for (int x = start; x < input.length(); x++) {
      for (int y = input.length(); y >= x + maxlen; y--) {
        if (cumsum[y] - cumsum[x] >= 0) {
          if (y - x == maxlen)
            count++;
          else {
            maxlen = y - x;
            if (x == 0)
              maxlen = y - x + Math.min(cumsum[y] - cumsum[x], start);
            count = 1;
          }
          break;
        }
      }
    }

    if (maxlen == 0)
      System.out.println("No solution");
    else
      System.out.println(maxlen + " " + count);

    // for(int x = 0; x < input.length() + 1; x++)
    // System.out.println(cumsum[x]);

  }