driver code
public static void main ( String arg [ ] ) { int arr [ ] = { 1 , 7 } ; int n = arr . length ; int m = 5 ; if ( modularSum ( arr , n , m ) ) System . out . print ( "YESNEW_LINE"); else System . out . print ( "NONEW_LINE"); } }