Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: [4511, 'E', 'i', 6191, 'p', 'Z', 'p', 'Q', 'U', 4985, 6283, 3177, '6841', 'b', '8871', 's', '7421', '5125', 'P', 'H', 'H', '6785', 'Y', 'L', '5827', '2627', 'm', '2655', '1435', 'f', 'x', 3497, 'q', 9915, 'y', 9967], [617, 'z', 5295, 's', 6199, 'q', 'f', 'V', 'v', 'j', 349, 9109, 'V', 'o', 9661, 'Z', '6841', 'b', '8871', 's', '7421', '5125', 'P', 'H', 'H', '6785', 'Y', 'L', '5827', '2627', 'm', '2655', '1435', 'f', 'j', 6339, 'l', 1215, 'x', 'V', 3945]
A:
6841, b, 8871, s, 7421, 5125, P, H, H, 6785, Y, L, 5827, 2627, m, 2655, 1435, f