Dasha writes down different numbers, but sometimes she forgets and writes the same ones. Masha wants to determine how many different numbers Dasha wrote down. Automate Masha's calculations.
Input: A list of integers is entered. All numbers in the list are on the same line. There are no more than 100000 numbers in total.
Output: Print the answer to the problem.
Examples
# |
Input |
Output |
1 |
1 2 3 2 1 |
3 |