Close Tuples (easy version)

Problem Name:
Close Tuples (easy version)
Site:CodeForces
Links:
Tags:
Problem setters: