ab = [input() for _ in range(int(input()))] print('Yes' if len(set(ab)) != len(ab) else 'No')