In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6045, 405, 'V', 1565, 1993, 'V', 'M', 9493, 'c', 'X', 'C', 'Y', 9025, 6949, 4337, 1351, 'c', 6865, 'm', 'J', 't', 'j', 2543, '7079', '3267', '3565', '193', 'p', '9457', '9001', '5151', '2077', 'V', '7899', '1017', 'M', '2067', 'u', 'w', 'Z', '7203', 'r', 'N', 'r', 'D', '2049', 'z', 'F', 9627, 9875, 'G', 'm', 3241, 'k', 'N', 6953, 1567, 'c', 7517], [3113, 7821, 4945, '7079', '3267', '3565', '193', 'p', '9457', '9001', '5151', '2077', 'V', '7899', '1017', 'M', '2067', 'u', 'w', 'Z', '7203', 'r', 'N', 'r', 'D', '2049', 'h', 'A', 8129, 'I', 'u', 'K', 4079, 'I', 5441, 4891, 3367, 1593, 'i', 7485, 'p', 6367, 'V', 'p', 'K']