Spreetail interview question

Write a program that takes input from CLI and perform Set operations