In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['M', 'E', '6549', '6761', 'p', 'S', '3617', 'd', 'n', 'l', 'O', 'N', 's', '2333', 'D', 'c', 'Y', 4439, 6983, 1323, 1863, 4439, 'r', 'J', 'J', 'I', 3433], ['f', 'd', 'r', 4541, 'e', 'D', '6549', '6761', 'p', 'S', '3617', 'd', 'n', 'l', 'O', 'N', 's', '2333', 'D', 'X', 1245]