LearnPy Hub
← Tuples & Sets problems
Easy

How Many Different?

Read words and add each to a set with add(). Print the size of the set.

Input

One line.

Output

One integer.

Sample 1

Input
a b a c b
Output
3

Sample 2

Input
x
Output
1
solution.py
Output appears here
How Many Different? · Python practice problem · LearnPy Hub