Олимпиадный тренинг

Задача 7136. From a to b. Task 3


Задача

Темы: Цикл for
You are given three integers a, b and c.
Write a program that finds the count of all integers from a to b that end in c

Input: 
The first line contains three integers a, b and c (a<=b,  a,b modulo no more than 100, 0<=c<=9)

Output:
The program should output a single number -  the number of all integers from a to b that end in c

Example

Enter

Output

1 10 8
1