more array and random examples
input example added