Driver code
public static void main ( String [ ] args ) { int x1 = 5 , v1 = 8 , x2 = 4 , v2 = 7 ; if ( everMeet ( x1 , x2 , v1 , v2 ) ) { System . out . printf ( " Yes " ) ; } else { System . out . printf ( " No " ) ; } } }