In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['w', 3353, 427, 'y', 'h', 5327, 'Y', 'X', 'l', 9479, 'Q', 'g', 'j', '737', 'j', 'Z', 'v', 'R', '5899', '3177', 'J', 'i', 'd', 'P', 'i', 'Q', 'h', '7731', 'V', 'd', '6241', '5889', '8187', 'E', 'p', 309, 'D', 'I', 'G', 3605, 7275, 'O', 809, 'A', 4299, 'g'], [4859, 'j', 1037, 'f', 9029, 6029, 7827, 1983, 4075, 'z', 'N', 1133, 8253, 'E', 'Q', 'g', 'j', '737', 'j', 'Z', 'v', 'R', '5899', '3177', 'J', 'i', 'd', 'P', 'i', 'Q', 'h', '7731', 'V', 'd', '6241', '5889', '8187', 'E', 'j', 'P', 'i', 'C', 'p', 'R', 'B', 'U', 8559, 2561, 'z', 'X', 'W', 'v', 9185, 'J', 'a']