In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['K', 8651, 4909, 8125, 'X', 9873, '2329', '491', '9549', 'J', '6511', '2851', '3597', 'w', '6777', '2189', '3253', '1277', 'm', 'Q', '7549', 'h', '2311', 'G', '1099', '4981', 'K', '8249', 'r', 'L', 'k', 2771, 1021, 'C', 'y', 'l', 5937, 9029, 'c', 7265], ['f', 2423, '2329', '491', '9549', 'J', '6511', '2851', '3597', 'w', '6777', '2189', '3253', '1277', 'm', 'Q', '7549', 'h', '2311', 'G', '1099', '4981', 'K', '8249', 'r', 'L', 'H', 'k', 'W']