Driver Code
public static void main ( String args [ ] ) { int m = 10087887 ; long n = 2983097899L ; int Final = ( int ) Math . abs ( fib ( n ) - fib ( m - 1 ) ) ; System . out . println ( Final % 10 ) ; } }