Write a program that reads a string of up to 100 characters and displays it after remove all 'a' characters that exist at the beginning and at the end of the string. For example, if the user enters "aabbadaa", the program should display "bbad". Sample Input 1:
aaTriHarda
Sample Output 1:
TriHard
Sample Input 2:
ResidentSleeper
Sample Output 2: