Subscription and community of two sets
Write a program that receives two sets of entry and shows its subscription and community
Help: The two sets are meant to collect members of both A and B sets in one collection without repeating members.
Help: The purpose of subscribing to the two sets is to collect members of both sets A and B that are in both A and B in a collection.
Example:
Receive Input:
Output: