Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: ['O', 'p', 6959, 'k', 'h', 'X', 7475, 1617, 'h', 'f', 'n', 781, 'L', 4301, 4229, 'N', 'E', 'k', 'J', '2475', '3271', '9507', 'A', '7043', '7155', 'n', 'n', 'n', 'Y', 'Z', '8115', 'O', 'l', 'v', '4289', 'F', '4745', '6129', '6179', 'M', 3971, 5117, 2163, 'i', 4921, 4763, 249, 5999, 'f', 2065, 2021], [9829, 8675, 'm', 'j', 'o', 't', 'O', 193, 8665, 'J', 2077, 'Y', 3083, 'E', 'k', 'J', '2475', '3271', '9507', 'A', '7043', '7155', 'n', 'n', 'n', 'Y', 'Z', '8115', 'O', 'l', 'v', '4289', 'F', '4745', '6129', '6179', 'v', 'M', 'l']
Output:
E, k, J, 2475, 3271, 9507, A, 7043, 7155, n, n, n, Y, Z, 8115, O, l, v, 4289, F, 4745, 6129, 6179