In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Example: [5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
Example solution: 8297, b
Example explanation: Here, '8297, b' is the longest common subsequence in both the input lists [5797, 8817, '8297', 'b', 'U', 'b'] and [5843, 8809, '8297', 'b', 'W', 'C'].

Problem: [6005, 8111, 'D', 'F', 9895, 6421, 'X', 9031, 'I', 'J', 1199, 8363, 'X', 'm', 8409, 6915, 'P', '9815', '69', '7069', '5297', '1203', '7423', '4603', '7985', 'Z', 'O', 'D', 'I', 'k', 'k', '5691', '4307', '3853', 'X', '441', 'K', 't', 4123, 6865, 't', 'u', 1361, 2565, 'T', 2565, 'U', 'p', 'f'], [127, 'q', 3485, 821, 5149, 'h', 'j', 'x', 2829, 1741, 'P', '9815', '69', '7069', '5297', '1203', '7423', '4603', '7985', 'Z', 'O', 'D', 'I', 'k', 'k', '5691', '4307', '3853', 'X', '441', 'O', 'a', 937, 5429, 3565, 3553, 9641, 8011, 'K', 'p', 'g', 'r']
Solution: P, 9815, 69, 7069, 5297, 1203, 7423, 4603, 7985, Z, O, D, I, k, k, 5691, 4307, 3853, X, 441