In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1907, 'u', 4249, 'W', 'R', 'k', 'L', 3269, 'z', 867, 9845, '9453', '1971', '8819', '8301', '4637', '5601', '8641', '4597', 'Z', 'F', 'u', 'c', 'C', 's', 'b', 'Q', 'I', 'v', 'p', 'h', 5101, 'f', 'i', 'Q', 9309, 'X', 5485, 4919, 1543, 4529, 'r'], [5367, 'L', 5161, 8727, 3961, 6287, '9453', '1971', '8819', '8301', '4637', '5601', '8641', '4597', 'Z', 'F', 'u', 'c', 'C', 's', 'b', 'Q', 'I', 'v', 'p', 'c', 4305, 'p']