In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

['K', 1657, '5001', '8571', '2343', '9471', 'P', '6369', '9299', 'X', 'n', 3631, 'o', 'm'], ['P', 6249, 7565, 's', 1041, 'V', 'D', '5001', '8571', '2343', '9471', 'P', '6369', '9299', 'n', 'U', 'z', 2559, 5379, 6985, 6059]
5001, 8571, 2343, 9471, P, 6369, 9299

['s', 'J', 2223, 'y', 'v', '9315', '8837', 'z', '8583', 'o', 'c', 'V'], ['E', 5699, 1225, 'f', '9315', '8837', 'z', '8583', 'o', 'u', 'j']
9315, 8837, z, 8583, o

['Z', 'f', '815', '5167', '5897', 'k', 'C', '4803', 'z', 'B', 4057, 'Z', 5583], [2283, 6997, 'v', 'q', 'J', '815', '5167', '5897', 'k', 'C', '4803', 'z', 'A', 'm', 'F', 8551]

815, 5167, 5897, k, C, 4803, z