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

[Q]: ['P', 6481, 'O', 6003, 1505, 'G', 3907, 'c', 5741, 3, '4963', '1225', '4331', '1287', 'v', '8479', 'y', '673', 'M', 'V', '8307', 'C', '7931', 'z', 'Z', 'P', 'i', 9259, 'T'], [3141, 4731, 4787, 6417, 8539, 3015, 3437, 6005, 'w', '4963', '1225', '4331', '1287', 'v', '8479', 'y', '673', 'M', 'V', '8307', 'C', '7931', 'z', 'k', 6421, 645, 6161, 'm']
[A]: 4963, 1225, 4331, 1287, v, 8479, y, 673, M, V, 8307, C, 7931, z


[Q]: [1229, 2165, 9405, 7393, 'c', 6613, 987, 9213, 9841, 1761, 977, 'X', 'w', 6301, 'h', 7313, 471, 9743, 8297, 'U', 5599, 'V', 'r', 'D', 'D', '5085', 'Z', 'E', '7057', 'r', '9905', '5733', 'M', 'z', 'v', 'C', 'u', 'A', '5577', '5937', 'Z', '4509', '4005', 'Z', 'a', 'F', '6315', '5875', 'c', 'A', 'l', 'I', 'F', 'd', 'Z', 'B', 2909, 'J', 7945, 4375, 'i'], ['u', 7037, 'F', 'P', 'p', 3491, 4945, 4199, 'Z', 9041, 'K', 7385, 'F', 275, 6533, 'x', 'O', 9603, 8641, 'G', 6723, 'L', 'S', 'D', '5085', 'Z', 'E', '7057', 'r', '9905', '5733', 'M', 'z', 'v', 'C', 'u', 'A', '5577', '5937', 'Z', '4509', '4005', 'Z', 'a', 'F', '6315', '5875', 'A', 'q', 4411, 3045, 'A', 933, 7623, 'w']
[A]: D, 5085, Z, E, 7057, r, 9905, 5733, M, z, v, C, u, A, 5577, 5937, Z, 4509, 4005, Z, a, F, 6315, 5875


[Q]: ['y', 745, 'I', 7883, 7689, 'R', 'k', '6721', '499', 'p', 'n', '6063', '1919', '8757', 'F', '995', 'Z', '3789', '1963', '5981', 'I', '9573', 'k', 'q', 'b', 2715, 5219, 'D', 'X', 4071, 'T', 9817, 7401, 'p', 'T', 'd', 'f', 'O', 'R', 2781], [6827, 8201, 'P', 'c', 1107, 2239, 7409, 2315, 'g', 4589, 7357, 129, 7727, 9177, 'I', 3735, '6721', '499', 'p', 'n', '6063', '1919', '8757', 'F', '995', 'Z', '3789', '1963', '5981', 'I', '9573', 'k', 'q', 'i', 'z', 9187, 'z', 'G', 'U', 'x', 'M', 'e', 'q', 4583, 9289, 6551, 9615, 'Y']
[A]:
6721, 499, p, n, 6063, 1919, 8757, F, 995, Z, 3789, 1963, 5981, I, 9573, k, q