Driver Code
public static void main ( String [ ] args ) { int arr [ ] = { 2 , 7 , 3 , 5 , 7 } ; int N = arr . length ; if ( checkEquall ( arr , N ) ) System . out . print ( " YES " + "NEW_LINE"); else System . out . print ( " NO " + "NEW_LINE"); } }