Remove Primes

easy
1. You are given an ArrayList of positive integers.
2. You have to remove prime numbers from the given ArrayList and return the updated ArrayList.

Note -> The order of elements should remain same.

Input Format

A number N arr1 arr2.. N numbers

Output Format

An Arraylist

Constraints

1 <= N <= 10000

Example

Input
4
3 12 13 15
Output
[12, 15]
Previous
String With Difference Of Every Two Consecutive Characters
Next
Print All Permutations Of A String Iteratively

Related Questions