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

Q: ['z', 883, 9795, 4785, 'R', 927, 6697, 'Y', 'a', 'V', 'r', 'x', 'D', '4987', 'p', 'O', 'w', 'g', 'U', '3989', '8321', '9091', '3263', '2091', '2505', '1055', '5617', '2913', '9717', '4691', 'e', 'a', 'o', 'O', 'o', 'o', 'k', 5419], ['L', 4127, 'J', 5701, 'u', 'D', '4987', 'p', 'O', 'w', 'g', 'U', '3989', '8321', '9091', '3263', '2091', '2505', '1055', '5617', '2913', '9717', '4691', 'e', 'g', 'e', 'G', 'U', 4361, 'z', 3019, 'l', 6969, 'z', 1821, 8135, 4831, 4315, 'F', 6801, 185]

A: D, 4987, p, O, w, g, U, 3989, 8321, 9091, 3263, 2091, 2505, 1055, 5617, 2913, 9717, 4691, e
****
Q: ['u', 'U', 'a', 'Z', 'b', 'Q', 'D', 5239, 6595, 1793, 'f', '7733', '5727', '3047', '4951', '8907', 'D', '5105', 'i', '1837', 'i', 'Y', 'b', '5769', 'p', '1767', 'Y', 'B', 'q', '4075', '917', 'c', 'm', 867, 585, 1765], [5201, 'W', 'a', 'k', 9031, 4815, '7733', '5727', '3047', '4951', '8907', 'D', '5105', 'i', '1837', 'i', 'Y', 'b', '5769', 'p', '1767', 'Y', 'B', 'q', '4075', '917', 'c', 'X', 2991, 3377, 2933, 5359, 6073, 8921, 789, 'W', 7037, 9953, 'N', 8007, 1755, 1959, 9619]

A: 7733, 5727, 3047, 4951, 8907, D, 5105, i, 1837, i, Y, b, 5769, p, 1767, Y, B, q, 4075, 917, c
****
Q: [3513, 'm', 'd', 'D', 'W', 3645, 5865, 'a', 4599, 8779, 'z', 'W', 5763, '5581', 'W', 'r', '8791', '5611', 'F', '4609', 'u', '3605', '5297', 'P', '8281', '9369', 'v', 'h', '5425', 's', '9617', '1641', '2571', 'q', '7465', 'j', 4251, 'M', 9377, 3223, 'M', 3831, 'H', 'h', 849, 'I', 'E'], [6169, 8429, 'x', 321, 5665, 3105, 'e', 'a', 'h', 495, 7325, '5581', 'W', 'r', '8791', '5611', 'F', '4609', 'u', '3605', '5297', 'P', '8281', '9369', 'v', 'h', '5425', 's', '9617', '1641', '2571', 'q', '7465', 'R', 1043, 5437, 'w', 1081, 9491, 'l', 9089, 4265, 6751, 5423, 6903, 'W', 4311, 7347, 'B', 8643]

A:
5581, W, r, 8791, 5611, F, 4609, u, 3605, 5297, P, 8281, 9369, v, h, 5425, s, 9617, 1641, 2571, q, 7465
****