Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: ['p', 5385, 'W', 3877, 's', 'e', '9491', '5499', '2485', '6687', '9039', 'X', '9029', 's', 'H', '6635', '8449', 'm', 'O', '9627', 'i', 229, 'I', 4175, 'w', 'j', 2249, 'O', 2455, 'j', 1979, 'Z', 4453], [5527, 'X', 8263, 8897, 4271, 8567, 8629, 5383, 6613, 4717, 'g', 513, 1137, 381, 'o', 'u', 's', 'e', '9491', '5499', '2485', '6687', '9039', 'X', '9029', 's', 'H', '6635', '8449', 'm', 'O', '9627', 'y', 'F', 1025, 's']
A:
s, e, 9491, 5499, 2485, 6687, 9039, X, 9029, s, H, 6635, 8449, m, O, 9627