write a function `process lst()` that accepts a list as input. the list consists of integers or lists containing integers. your function should return a list that is the same length as the input list. if the element in the input list is an integer, the output should contain the square of that element, if the element in the input list is a list of integers, then the output list should contain the sum of elements in the inner list