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

Q: ['L', 1653, 4833, 3597, 'B', 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'K', 4721, 'L', 'H', 'F', 'y', 2849], [9635, 3451, 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'd', 'f']

A: A, g, 6735, 6737, 6929, 3051, v, 1223, 497
****
Q: ['k', 'l', 3761, 9679, 'Y', 'l', '1953', '7925', '8115', '5243', 'Y', '3939', '1231', 'Q', 'u', 5953, 5571, 'N'], [8981, 8379, 'h', 9701, 759, 'd', '1953', '7925', '8115', '5243', 'Y', '3939', '1231', 'l', 5705, 'P', 4009, 1189]

A: 1953, 7925, 8115, 5243, Y, 3939, 1231
****
Q: ['T', 3541, 4773, 'v', 10015, 'A', 'h', 3039, 'M', 'M', 'g', 'x', 3231, 'J', 'M', 'Z', 2259, 7249, 'c', 4377, 'q', 8905, '51', 'V', '621', 'I', '4257', 'T', '8267', '9627', '3821', '9023', '4765', '3023', '3775', 'e', '8201', '5923', '6705', '4119', '411', 'm', 'm', 'I', 'p', '5025', 'F', '7717', 'c', 'n', 'o', 8857, 'C'], ['l', 1927, 4479, 4479, 5901, 'X', 'l', 'm', 'n', 'J', 'Y', 'Y', 6843, 9869, 9499, 2351, 'r', '51', 'V', '621', 'I', '4257', 'T', '8267', '9627', '3821', '9023', '4765', '3023', '3775', 'e', '8201', '5923', '6705', '4119', '411', 'm', 'm', 'I', 'p', '5025', 'F', '7717', 'r', 'l', 'A', 7389, 9775, 3491, 'N', 'h', 'r', 'I', 9059, 9041, 3549, 'v', 7587, 'g', 2885, 1805, 's', 'w', 'N', 7369]

A:
51, V, 621, I, 4257, T, 8267, 9627, 3821, 9023, 4765, 3023, 3775, e, 8201, 5923, 6705, 4119, 411, m, m, I, p, 5025, F, 7717
****