1. Write a program that extracts from a text all words which are palindromes, such as ABBA", "lamal", "exe".
2. Write a program that reads a string from the console and prints in alphabetical order all letters from the input string and how many times each one of them occurs in the string.