In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['y', 1601, 'k', 'A', 7037, 3785, 5607, 3187, 'j', '4851', '6619', 'i', 'M', '7991', 'I', '5495', 'a', 1239, 'C'], [2657, 'U', 1289, 5517, 'A', 'j', '4851', '6619', 'i', 'M', '7991', 'I', '5495', 'N', 'p', 'c', 5429]