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

Q: ['P', 'E', 'w', 4729, 8995, 'z', 3939, '9711', '4699', 'c', '351', '7279', 'A', '719', 'j', '9659', '8455', '6859', 'E', '903', '1827', 'M', '3035', 'N', '2573', '4995', 'U', '8289', 'k', 'b', 'U', '1961', 'v', 1077, 153, 8063, 'h', 'k'], ['A', 2845, '9711', '4699', 'c', '351', '7279', 'A', '719', 'j', '9659', '8455', '6859', 'E', '903', '1827', 'M', '3035', 'N', '2573', '4995', 'U', '8289', 'k', 'b', 'U', '1961', 'h', 9115, 'v', 275, 'C', 7405, 4211, 'X', 'O', 'e', 'n', 2507, 875, 'o', 6189, 'g', 'k', 3781, 1027, 807, 'g', 7213]

A: 9711, 4699, c, 351, 7279, A, 719, j, 9659, 8455, 6859, E, 903, 1827, M, 3035, N, 2573, 4995, U, 8289, k, b, U, 1961
****
Q: ['u', 4637, 'h', 2259, 'M', 'i', 'h', 'X', 7083, 'o', 't', 9421, 't', 785, 'Y', 'Y', '5531', 'P', 'x', 'b', '4899', 'Y', '8909', '7749', 'k', '4049', '1237', 'M', '8579', 'N', '3167', '9123', '6973', '4981', 'I', '7231', '9783', '9823', 'c', 'e', '7169', '4003', 'C', 8237, 9899, 'M', 3217, 4903, 'I', 5279, 'T', 6849, 3373, 'x', 'S', 'l', 8665, 'V', 'v', 'I', 'A', 'E', 4367, 9513, 'i', 2897, 3433, 8091, 5011], [5327, 4587, 'E', 'w', 4287, 'W', 3339, 2729, 'q', 'Y', '5531', 'P', 'x', 'b', '4899', 'Y', '8909', '7749', 'k', '4049', '1237', 'M', '8579', 'N', '3167', '9123', '6973', '4981', 'I', '7231', '9783', '9823', 'c', 'e', '7169', '4003', 'p', 7351, 4915, 4485, 7747]

A: Y, 5531, P, x, b, 4899, Y, 8909, 7749, k, 4049, 1237, M, 8579, N, 3167, 9123, 6973, 4981, I, 7231, 9783, 9823, c, e, 7169, 4003
****
Q: ['M', 'I', 'A', 'M', 7107, '4019', '135', 'I', 'z', '3163', 'l', 'C', 2653, 1251, 1807, 'w', 'J'], [7095, 'j', 3895, 'x', '4019', '135', 'I', 'z', '3163', 'l', 'N', 'h', 9629, 'N']

A:
4019, 135, I, z, 3163, l
****