Cipher

No attempts yetTime limit1sMemory limit128 MB

Problem

Limak is breaking into the Compute-Anything System. Its security relies on an extremely strong password scheme that Limak has already cracked. The scheme works as follows: the computer gives a pair of numbers nn, mm, and the intruder must very quickly report the last digits of the consecutive Fibonacci numbers from fib(n)fib(n) up to fib(m)fib(m). The Fibonacci numbers are defined by fib(1)=1fib(1) = 1, fib(2)=1fib(2) = 1, and fib(n)=fib(n1)+fib(n2)fib(n) = fib(n-1) + fib(n-2) for n>2n > 2. The first two terms are both 1, and each following term is the sum of the two preceding ones, so the sequence begins 1,1,2,3,5,8,13,1, 1, 2, 3, 5, 8, 13, \dots. Write a program that helps Limak.

Input

The first and only line contains two natural numbers nn, mm (0<n<m<1070 < n < m < 10^7), separated by a single space.

Output

In the first and only line, output the last (least significant) digit of each Fibonacci number from fib(n)fib(n) up to fib(m)fib(m), concatenated in order. The digits must not be separated by any characters.