In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2709, 8463, 2975, 1529, 'N', '9457', '2753', '2781', '7991', 'M', 'H', 'r', 'm', 'k', 'o', '977', '979', '4437', '3489', 'r', 'R', 'h', '1513', '6331', 'v', '5361', '2439', 'r', 'A', 'z', 'q', 'U', 't', 5789, 1957, 'K', 8291, 9631, 929, 743], ['W', 1663, 'G', 1633, 'P', 'e', 'F', 427, 'r', 8231, 7047, 'R', 829, 9437, 1837, 219, 9439, '9457', '2753', '2781', '7991', 'M', 'H', 'r', 'm', 'k', 'o', '977', '979', '4437', '3489', 'r', 'R', 'h', '1513', '6331', 'v', '5361', '2439', 'r', 'A', 'V', 'R', 443, 'r', 45, 8027, 'K', 9201, 7829, 3613, 'j', 'j']