In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['U', 3351, 705, 'J', 2115, 'j', 'f', 6891, 'r', 'u', 'u', 'V', 1593, 'u', 'z', 'q', '3589', 'r', '8835', '2899', 'p', 'h', '3041', 'B', '2747', '4543', 'x', '6649', '2373', 'V', 'g', 'D', 7197], [5825, 9939, 'E', 5633, 'x', 245, 'h', 4809, 'w', 'T', 4573, 'n', 403, 'W', 'c', 925, 2911, 'z', 'q', '3589', 'r', '8835', '2899', 'p', 'h', '3041', 'B', '2747', '4543', 'x', '6649', '2373', 'V', 'g', 't', 6427, 1305, 963, 9011, 'k', 3243, 6061, 'Q', 9919, 935]