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.
1 <= N <= 10000
A number N arr1 arr2.. N numbers
4 3 12 13 15