<prompt> 2, 3, 5, 8Kujenga algorithm ambayo inachukua orodha ya kuingia ya integer na anarudi orodha ya squares ya kila idadi.  <response>: Here is a simple algorithm that can take an input list of integers and return a list of the squares of each number:Algorithm:1. Create an empty output list.2. For each integer in the input list: a. Compute the square of the integer. b. Append the square to the output list.3. Return the output list.In Python, this algorithm could be implemented as follows:pythondef square_listinput_list: output_list for x in input_list: output_list.appendx2 return output_list test the algorithm with the input exampleprintsquare_list2, 3, 5, 8On running the code, it returns the response: 4, 9, 25, 64, which are the squares of the input integers. 