In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['P', 7787, '9363', '5199', '803', '781', 'J', '845', 'E', 'A', '6385', '4275', 'W', 'k', 'j', 'Q', '1785', '1511', '3009', '5929', '8309', '8603', 'A', 'z', '1567', '2173', 'e', '77', '6185', 'A', '8339', 'c', 'h', 117, 'v', 7217, 9001, 4377, 'x'], [4925, 747, 'k', 5457, '9363', '5199', '803', '781', 'J', '845', 'E', 'A', '6385', '4275', 'W', 'k', 'j', 'Q', '1785', '1511', '3009', '5929', '8309', '8603', 'A', 'z', '1567', '2173', 'e', '77', '6185', 'A', '8339', 'c', 'w', 'b', 1083, 'v', 'T', 'z', 'l', 'd', 4611]