Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: [6407, 'a', 9835, 'M', 'd', 349, 'b', 9017, 'i', 1085, 6017, 7285, 'Q', 'L', 10009, 3603, 2479, 'H', 8987, 'z', 'L', 'P', 4855, '8417', 'D', 'o', '3045', 'W', '2889', '8173', '4611', '3867', 'y', 'u', '929', 't', 'J', '9257', '5471', 's', '463', '3685', '7301', '8795', 'x', 'G', 'W', 'o', 8639, 5037, 3229, 9987, 2057, 9463, 'E', 6031, 'c', 6415, 'i', 'l', 'x'], ['A', 5475, 9539, 5177, '8417', 'D', 'o', '3045', 'W', '2889', '8173', '4611', '3867', 'y', 'u', '929', 't', 'J', '9257', '5471', 's', '463', '3685', '7301', '8795', 'x', 'G', 'J', 7431, 'j', 'J', 'Q', 'i', 'a', 2423]
A:
8417, D, o, 3045, W, 2889, 8173, 4611, 3867, y, u, 929, t, J, 9257, 5471, s, 463, 3685, 7301, 8795, x, G