Polycarp find street array n elementsPolycarp invent criterion beauty array he call array beautiful follow condition meet different pair index ne j a_i divisible a_j a_j divisible a_i for example n5 a7 9 3 14 63 array beautiful i4 j2 condition meet n3 a2 14 42 array beautiful n4 a45 9 3 18 array beautiful i1 j4 condition meet Ugly array upset Polycarp want remove element array beautiful Help Polycarp determine small number element remove array beautiful