public String isPossible(int[] values) {
        int[] mul = new int[values.length - 1];
        int[] map = new int[20001];
        for (int i = 0; i < values.length - 1; i++) {
            mul[i] = values[i + 1] / values[i];
            map[mul[i] - 1]++;
        }
        for (int i = map.length - 1; i >= 1; i--) {
            while (map[i] > 1) {
                map[i]--;
                if (i == 1) {
                    return "Impossible";
                }
                map[i - 1]++;
            }
        }
        return "Possible";

    }