Graderpractice for programmers

Back to 254275 OOP - Labs 1-5 Review

I. All are equal

Problem

Given an array of integers, return true if all integers in the array are equal.

Examples

Input

1,1,2,1

Output

false

Input

2,2,2

Output

true

Submit your solution

java