In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[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']