In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['f', 1335, 3909, 7811, '9943', '3557', '2523', 'R', 'L', 'C', '6681', '8731', '4331', '227', '127', 'E', 'a', 'm', 'J', 'm', 2609, 'N'], [881, 'c', 'i', '9943', '3557', '2523', 'R', 'L', 'C', '6681', '8731', '4331', '227', '127', 'E', 'a', 'm', 'E', 'c', 6269]