In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['h', 'j', 6725, 'P', 'o', 'e', '9965', '2669', 'k', 'g', 't', '5599', '601', 'A', 5985, 3997, 5131, 889, 'W', 'k', 1793], [867, 'E', 'j', 1379, 'a', 2729, 'v', 8351, 'P', 'o', 'e', '9965', '2669', 'k', 'g', 't', '5599', '601', 'w', 8133, 'a', 'O']