In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['v', 'k', 5451, 'P', 'm', 'w', 'M', 'r', 'J', '1225', 'S', '3089', '8127', '1605', '2899', 'p', 'x', 'g', '8933', '3753', '3963', '3391', '6773', 'd', 'I', 'z', 5367, 9119, 885], ['c', 6965, 9989, 5213, 8209, 'l', 1471, '1225', 'S', '3089', '8127', '1605', '2899', 'p', 'x', 'g', '8933', '3753', '3963', '3391', '6773', 'd', 'I', 'G', 5005, 'K', 3193, 'o', 4795, 4827, 6315, 659, 8163, 7343, 'K', 'B', 'L', 'c', 9775]