Remove Duplicates Words
Problem Write a program that removes duplicated strings when N strings are input and outputs them. The output string maintains the original input order. input A natural number N is given in the first line (3<=N<=30). Starting from the second line, N strings are given. The length of the string does…