Teacher: In this task, you are given an input list A. You need to find all the elements of the list that are alphabets in the same order as they appear in the list A. Do not change their case/capitalization.
Teacher: Now, understand the problem? If you are still confused, see the following example:
['238', 'h', '92', 'U', '2799']
Solution: h, U
Reason: Here, the alphabetical elements in the input list in order are 'h' and 'U'.

Now, solve this instance: ['s', 'j', 'D', 'G', '9317']
Student:
s, j, D, G
Teacher: In this task, you are given an input list A. You need to find all the elements of the list that are alphabets in the same order as they appear in the list A. Do not change their case/capitalization.
Teacher: Now, understand the problem? If you are still confused, see the following example:
['238', 'h', '92', 'U', '2799']
Solution: h, U
Reason: Here, the alphabetical elements in the input list in order are 'h' and 'U'.

Now, solve this instance: ['s', 'j', 'D', 'G', '9317']
Student:
user
s, j, D, G
assistant
Teacher: In this task, you are given an input list A. You need to find all the elements of the list that are alphabets in the same order as they appear in the list A. Do not change their case/capitalization.
Teacher: Now, understand the problem? If you are still confused, see the following example:
['238', 'h', '92', 'U', '2799']
Solution: h, U
Reason: Here, the alphabetical elements in the input list in order are 'h' and 'U'.

Now, solve this instance: ['s', 'j', 'D', 'G', '9317']
Student:
s, j, D, G