Definition: In this task, you are given a list. This list contains many lists of integers. The list is several items written within a []. Your task is to find the maximum number among the members of each inner list. The output should be a list comprised of the maximums with the same order as the internal lists.
Input: [[98, -103, -91, 17, -127, 52, 6], [98, 14, 21, 40], [31, 97, -22, 26, 9]]
Output:
[98, 98, 97]