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

[Q]: [1477, 'o', 1059, 'R', 't', 97, 7251, 1765, 'V', 1139, 'h', 7923, 'J', 'E', '6945', 'C', 'j', '4891', '4001', 'j', 'f', '8117', 'T', '2147', 'I', '3759', '5781', 'g', 'Y', 9333, 'm', 'V', 'T', 3427, 3397, 507, 'Y', 'k', 907, 'b', 8791, 'A'], ['Y', 6653, 'v', 9685, 'D', 2111, 'd', 'y', 5885, 5653, 'i', 6307, 2051, 7807, '6945', 'C', 'j', '4891', '4001', 'j', 'f', '8117', 'T', '2147', 'I', '3759', '5781', 'g', 'd', 9367, 'Y', 3109, 7395, 'R', 'L', 9041]
[A]: 6945, C, j, 4891, 4001, j, f, 8117, T, 2147, I, 3759, 5781, g


[Q]: [5911, 'u', 6309, 9397, 9345, 7997, 'U', 'w', 'q', '7585', '3117', '4453', '3581', 'O', 'j', '3815', 'i', 'h', '1507', '3615', 'f', 'f', '2177', '3449', '1243', '5695', 'R', 'Z', 6167, 8919, 'M', 2389, 1105, 5255], ['d', 'F', 'w', 'q', '7585', '3117', '4453', '3581', 'O', 'j', '3815', 'i', 'h', '1507', '3615', 'f', 'f', '2177', '3449', '1243', '5695', 'e', 't', 8685, 'R', 'J', 5015, 8735, 'W', 5913]
[A]: w, q, 7585, 3117, 4453, 3581, O, j, 3815, i, h, 1507, 3615, f, f, 2177, 3449, 1243, 5695


[Q]: [7291, 'r', 10003, 'Z', 'H', 'h', '6381', 'J', 'N', '8353', 'U', '1935', '1395', 'y', '4659', 'k', 'q', 'i', 'Y', '8739', '9263', 'J', 'r', 'b', 'v', 'i', 'J', 'J', 1369, 'H', 6627, 'v', 'g', 'v', 4323, 5645, 'Q', 'y', 'Z', 6907, 479, 'h', 'I', 'r', 3103, 5675, 2071, 'Y'], ['R', 'T', 873, 553, 'G', 'L', 'J', 'e', 'g', 'o', 'Y', 'g', '6381', 'J', 'N', '8353', 'U', '1935', '1395', 'y', '4659', 'k', 'q', 'i', 'Y', '8739', '9263', 'J', 'r', 'b', 'v', 'i', 'J', 'B', 'y', 1537, 'n', 'O', 4593, 2909, 9739, 1045, 1523, 8479, 6883, 'F', 5369, 'a', 'N', 'n']
[A]:
6381, J, N, 8353, U, 1935, 1395, y, 4659, k, q, i, Y, 8739, 9263, J, r, b, v, i, J