Array first element. Count в массиве. for element in array java. problems for array. separate elements in input.