In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[247, 't', 2057, 1223, 'F', 'Z', 'A', '8595', 'c', '1465', 'M', 'M', '7699', '2837', '8945', '4087', '7141', 'z', '4073', 'R', '5217', 'p', 'e', 9213, 4661, 'k', 'n', 3975, 7797, 'Z', 'd'], [2281, 'B', 5655, 'l', 'N', 'E', '8595', 'c', '1465', 'M', 'M', '7699', '2837', '8945', '4087', '7141', 'z', '4073', 'R', '5217', 'j', 6325, 5865, 4811, 2721]