are removedsince they are multiples of that leaves repeating the process is announced as prime and removedand is removed because it is multiple of that leaves and the algorithm continues by announcing that is prime and removing it from the list finally is announced and removedand we're done write program that prompts user for and then uses the sieve algorithm to find all the primes less than or equal to write an automated censor program that reads in the text from file and creates new file where all of the four-letter words have been replaced by "****you can ignore punctuationand you may assume that no words in the file are split across multiple lines extend the program from the previous exercise to accept file of censored words as another input the words in the original file that appear in the censored words file are replaced by an appropriate number of "*" write program that creates list of card objects (see programming exercise from and prints out the cards grouped by suit and in rank order within suit your program should read the list of cards from filewhere each line in the file represents single card with the rank and suit separated by space hintfirst sort by rank and then by suit extend the previous program to analyze list of five cards as poker hand after printing the cardsthe program categorizes accordingly royal flush jackqueenkingaceall of the same suit straight flush five ranks in rowall of the same suit four of kind four of the same rank full house three of one rank and two of another flush five cards of the same suit straight five ranks in row three of kind three of one rank (but not full house or four of kindtwo pair two each of two different ranks pair two of the same rank (but not two pairthree or four of kindx high if none of the previous categories fitx is the value of the highest rank for exampleif the largest rank is the hand is "jack high create class deck that represents deck of cards your class should have the following methodsconstructor creates new deck of cards in standard order shuffle randomizes the order of the cards dealcard returns single card from the top of the deck and removes the card from the deck