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

[Q]: [4717, 'J', 'B', 'f', 'a', 9035, '3041', '491', '3395', '3117', '4793', '4305', 'c', 'F', 5099], ['Q', 3557, 'y', 2689, '3041', '491', '3395', '3117', '4793', '4305', 'c', 'k', 8835, 'C', 8979]
[A]: 3041, 491, 3395, 3117, 4793, 4305, c


[Q]: [987, 885, 2111, 'P', 'e', 'h', 'h', 'C', 'P', 'V', '4563', 'E', 'J', 'M', 'n', 'C', 'Q', 'P', 'k', 'S', 'M', '8993', '8675', '6707', 'Q', 'r', '4351', 'Q', 'q', 'a', 6295, 1061, 1619, 3509, 8583, 'f', 1157, 5365, 'l', 'x', 'B', 'U', 141, 5753, 'F', 7595, 'H'], [8245, 137, 5887, 1267, 5851, 'n', 7393, 'f', 9739, 9983, 'h', 'h', 'C', 'P', 'V', '4563', 'E', 'J', 'M', 'n', 'C', 'Q', 'P', 'k', 'S', 'M', '8993', '8675', '6707', 'Q', 'r', '4351', 'Q', 'q', 'F', 'k', 3463, 'U', 3587, 't', 'j', 'q', 'M', 1213, 9955, 'h', 9779, 'l', 8839, 'G', 8477, 9341, 6071, 'm']
[A]: h, h, C, P, V, 4563, E, J, M, n, C, Q, P, k, S, M, 8993, 8675, 6707, Q, r, 4351, Q, q


[Q]: [9509, 5427, 1767, 8127, 5097, 'l', 'g', 'W', 755, 5707, 'H', 5991, 'S', 's', '151', 'G', '8231', 'V', '5153', 'm', '7965', 'u', '8329', '771', '3813', 's', 'F', 'z', 'U', '1981', '693', 'z', 'L', 'v'], ['R', 1, 'z', 'X', 'W', 'X', 7059, 4351, 'Z', 7833, 'I', 6435, 's', '151', 'G', '8231', 'V', '5153', 'm', '7965', 'u', '8329', '771', '3813', 's', 'F', 'z', 'U', '1981', '693', 'z', 't', 8883, 't', 3735]
[A]:
s, 151, G, 8231, V, 5153, m, 7965, u, 8329, 771, 3813, s, F, z, U, 1981, 693, z