"There will be no life for you yet…"
In Berland, the presidential elections are underway once again. As part of the campaign "You won't have peace until...", it has been decided to release the Country's Horoscope for the duration of the presidency if our candidate wins.
To achieve this, they enlisted the help of the renowned astrologer, Pavel Globus. His task is to identify the number of unlucky years during the New President's term. After many sleepless nights of calculations, Pavel Globus concluded that a year is considered unlucky if and only if the digit 3 appears in its decimal representation. However, the famous astrologer is not adept at using computers. Assist him in calculating the number of unlucky years from year N to M, inclusive.
Input
The first line of the input contains two natural numbers N and M (1 ≤ N ≤ M ≤ 10^9) separated by a space.
Output
Output a single natural number — the count of unlucky years within the specified range.