Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Problem:['D', 'U', 1063, 8397, 'O', 'h', 8811, 'g', 'O', 4935, 7475, 7103, 4551, 'D', 8715, 'F', 'h', 'S', 'h', '4021', '6365', 'o', '197', 'I', 'C', '4777', '363', 'l', '3825', 'S', '6845', '4585', 'y', '5483', '9873', 'w', 'b', 's', '8097', '1755', '10003', '4059', '9061', 'D', '7321', 'r', 'j'], [2535, 3935, 'n', 8487, 6403, 9849, 7557, 8411, 5017, 'S', 'h', '4021', '6365', 'o', '197', 'I', 'C', '4777', '363', 'l', '3825', 'S', '6845', '4585', 'y', '5483', '9873', 'w', 'b', 's', '8097', '1755', '10003', '4059', '9061', 'D', '7321', 's', 'V', 4917, 'K', 'a', 'B', 's']
Solution:
S, h, 4021, 6365, o, 197, I, C, 4777, 363, l, 3825, S, 6845, 4585, y, 5483, 9873, w, b, s, 8097, 1755, 10003, 4059, 9061, D, 7321