import sys def count_food(str1): uni_food = set() for i in str1: uni_food.add(i) return len(uni_food) input_data = sys.stdin.read().split() print(count_food(input_data))
import sys def count_food(str1): uni_food = set() for i in str1: uni_food.add(i) return len(uni_food) input_data = sys.stdin.read().split() print(count_food(input_data))