Driver Code
public static void Main ( String [ ] args ) { int L = 1 , R = 50 ; Console . WriteLine ( solve ( R ) - solve ( L - 1 ) ) ; L = 50 ; R = 100 ; Console . WriteLine ( solve ( R ) - solve ( L - 1 ) ) ; } }