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

Q: ['L', 'W', 4919, 'y', '665', '9279', 'Z', 'd', '205', 'g', 'n', 305, 'r', 'B'], ['x', 'j', '665', '9279', 'Z', 'd', '205', 'a', 'V']

A: 665, 9279, Z, d, 205
****
Q: [5071, 3641, 'a', 'n', 4549, 'K', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 't', 'G', 'L', 3179, 10017, 'p', 1633, 3951, 3277, 'c'], ['k', 3793, 'G', 'z', 'F', 3735, 595, 'c', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 'f', 'u', 9709, 6341, 'N', 'F', 'G', 5533]

A: 6783, P, 5113, 9801, 4323, u, 4227, G, J, 5259
****
Q: ['L', 37, 4937, 'e', 3299, 'h', 3913, 3731, 'j', 983, '3613', '4875', '6539', 't', 'd', 'j', 'm', '5493', '2401', 'h', 'i', 'z', 'U', '5705', '2095', '5441', '1001', 'U', '4237', '9133', 'y', '2365', 'e', '7163', 's', '2465', 'x', '5363', 'm', 1601, 'j', 'r'], ['O', 'g', 'd', 'J', 3423, 'y', 6033, 9371, 'l', 'C', 'Q', 'P', 9313, 'y', 's', 1271, 4099, 3279, 5909, 2249, 'L', 7167, 'i', 1521, 'C', 3941, '3613', '4875', '6539', 't', 'd', 'j', 'm', '5493', '2401', 'h', 'i', 'z', 'U', '5705', '2095', '5441', '1001', 'U', '4237', '9133', 'y', '2365', 'e', '7163', 's', '2465', 'x', '5363', 'A', 6439, 'R']

A:
3613, 4875, 6539, t, d, j, m, 5493, 2401, h, i, z, U, 5705, 2095, 5441, 1001, U, 4237, 9133, y, 2365, e, 7163, s, 2465, x, 5363
****
