Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Problem:[8603, 6047, 'h', 'P', 5037, 'a', '5777', '2901', '8433', 'H', '6463', '19', '2175', 'F', 'a', '6657', '2733', '5575', '5653', '9873', 'S', '8327', 'Q', 3457, 1331, 'S', 5413, 'N', 1199, 9565, 1955, 'I', 9611, 'D', 'y', 4531, 2223], [2841, 8997, 'a', '5777', '2901', '8433', 'H', '6463', '19', '2175', 'F', 'a', '6657', '2733', '5575', '5653', '9873', 'S', '8327', 'Z', 1867, 1355, 'M']
Solution:
a, 5777, 2901, 8433, H, 6463, 19, 2175, F, a, 6657, 2733, 5575, 5653, 9873, S, 8327