25757번

· 백준
코드 import sys input = sys.stdin.readline # 빠른 입출력 div = {"Y":1, "F":2, "O":3} n, game = input().rstrip().split() people = set() for _ in range(int(n)): human = input().rstrip() people.add(human) print(len(people)//div[game])