{"raw_statement":[{"iden":"statement","content":"Given a string S and a list of characters C, print string S after removing all of the characters given in list C.\n\nThe first line is the string S to be modified. The second line contains integer N, which is the number of different characters to be deleted. The following N lines contain the characters to be deleted.\n\nA single string S after deleting all of the characters that are given to be deleted.\n\n"},{"iden":"input","content":"The first line is the string S to be modified. The second line contains integer N, which is the number of different characters to be deleted. The following N lines contain the characters to be deleted."},{"iden":"output","content":"A single string S after deleting all of the characters that are given to be deleted."}],"translated_statement":null,"sample_group":[],"show_order":[],"formal_statement":"**Definitions**  \nLet $ S \\in \\Sigma^* $ be the input string over alphabet $ \\Sigma $.  \nLet $ N \\in \\mathbb{Z}^+ $ be the number of characters to remove.  \nLet $ C = \\{c_1, c_2, \\dots, c_N\\} \\subseteq \\Sigma $ be the set of characters to be deleted.\n\n**Constraints**  \n1. $ N \\geq 1 $  \n2. Each $ c_i \\in \\Sigma $  \n\n**Objective**  \nCompute the string $ S' $ formed by removing all occurrences of characters in $ C $ from $ S $:  \n$$ S' = \\text{filter}_{x \\notin C}(S) $$","simple_statement":"Remove all characters listed from string S and print the result.","has_page_source":false}