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

[Q]: [8733, 'v', 'p', 5209, '4029', 'C', 'c', '3735', 'F', 'P', '6489', 'x', 'R', '8225', 'S', 'O', '8797', 'b', '2799', '4967', '653', 'k', '8993', '493', 'O', 'b', 3779, 5973, 'i', 5921, 'N', 5057, 'A', 2577, 'Z', 1771, 'a', 1067, 'n', 'R', 'g', 4261, 2179, 6831, 4749], [9955, 4173, 5331, 5307, 8589, 7067, 'u', 8543, '4029', 'C', 'c', '3735', 'F', 'P', '6489', 'x', 'R', '8225', 'S', 'O', '8797', 'b', '2799', '4967', '653', 'k', '8993', '493', 'O', 'e', 3355, 6925, 4047, 1911, 9227, 'F', 'b', 6205, 'S', 'm', 'E', 'a', 8093, 277]
[A]: 4029, C, c, 3735, F, P, 6489, x, R, 8225, S, O, 8797, b, 2799, 4967, 653, k, 8993, 493, O


[Q]: ['J', 'A', 7687, 281, 'v', 'P', 'i', 7785, 'J', 'Y', 3523, '355', '7389', 'Q', '4119', 'I', 'r', '6615', '8467', 'C', '9539', '4047', 'F', 'B', '2161', 'm', 'W', 'C', 'O', '7731', '3331', 'i', 267, 'p', 4649, 'n', 'H', 'y', 2593, 4947, 3199, 7407, 8623, 'S'], ['T', 9895, 1551, 'O', 5617, 'p', '355', '7389', 'Q', '4119', 'I', 'r', '6615', '8467', 'C', '9539', '4047', 'F', 'B', '2161', 'm', 'W', 'C', 'O', '7731', '3331', 'S', 'C', 2099, 6507, 489, 9845, 6641, 2521]
[A]: 355, 7389, Q, 4119, I, r, 6615, 8467, C, 9539, 4047, F, B, 2161, m, W, C, O, 7731, 3331


[Q]: [6741, 7651, 1063, '6723', '6375', '3701', '4913', '3069', '2051', 'k', 'N', 'O'], ['Y', 1479, '6723', '6375', '3701', '4913', '3069', '2051', 'k', 'I', 'G', 473, 2529]
[A]:
6723, 6375, 3701, 4913, 3069, 2051, k