Q: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1015, 'H', 6039, 6247, 'e', 'C', 149, 'B', 6351, 8221, 1655, 'l', 'T', 't', 9569, 'q', 5523, 687, 'W', 'J', 'S', 'N', '853', '9421', '147', 'q', '7003', 'P', 'i', '9997', 'P', 'v', '403', 'g', 'J', 'A', 'a', '3251', 'K', '8723', '3651', 'S', '7647', 'w', 4491, 'L', 7875, 'S', 'S', 'd', 8769, 9253, 'm', 4823, 9173, 2741, 2469, 5645, 9585, 'z'], [6101, 't', 'f', 'j', 2757, 8337, 'g', 'N', '853', '9421', '147', 'q', '7003', 'P', 'i', '9997', 'P', 'v', '403', 'g', 'J', 'A', 'a', '3251', 'K', '8723', '3651', 'S', '7647', 'H', 'w', 'Q', 4883, 'B', 'c', 'F', 2541]
A:
N, 853, 9421, 147, q, 7003, P, i, 9997, P, v, 403, g, J, A, a, 3251, K, 8723, 3651, S, 7647