Driver code
public static void main ( String [ ] args ) { int N = 3 ; System . out . print ( nextNonFibonacci ( N ) + "NEW_LINE"); N = 5 ; System . out . print ( nextNonFibonacci ( N ) + "NEW_LINE"); N = 7 ; System . out . print ( nextNonFibonacci ( N ) + "NEW_LINE"); } }