CF1468M Similar Sets

Description

You are given $ n $ sets of integers. The $ i $ -th set contains $ k_i $ integers. Two sets are called similar if they share at least two common elements, i. e. there exist two integers $ x $ and $ y $ such that $ x \ne y $ , and they both belong to each of the two sets. Your task is to find two similar sets among the given ones, or report that there is no such pair of sets.

Input Format

N/A

Output Format

N/A