In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['I', 4399, 'a', 1415, 'G', 8319, 3685, 'Z', 'y', '2013', 'p', 'H', '533', '2499', '6259', '4901', '7933', '4559', 'D', 's', '1237', 'q', 4847, 6097, 2367, 'I', 'm', 9717, 7345, 'r'], ['D', 'y', 'y', '2013', 'p', 'H', '533', '2499', '6259', '4901', '7933', '4559', 'D', 's', '1237', 'l', 8397, 533, 5013, 163]