In a deck of cards, each card has an integer written on it.
Given a deck of cards, return true if and only if you can choose 1 so that this integer is equal to the number of other cards of the same type (i.e., the number of 2s is 2, the number of 3s is 3, etc.).
Input: deck = [1,1,1,2,2,3] Output: true
Input: deck = [1,1,2,2,2,3,3] Output: false