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]: ['r', 'y', 1455, 'v', 631, 'q', '5453', '9015', '1127', 'R', 'B', '5487', 'M', '7325', 'L', 'D', '2897', 'z', '7191', '3383', 'E', 't', 't', '963', '2363', '3641', '9827', '6879', '3917', 'm', 'Y', 'w', 'T', 'v', 'v', '3263', 'f', 1003, 'E', 't'], ['r', 5091, 'e', 'i', 'L', 'x', 'D', 'q', 'z', 'M', 707, 'N', 'f', '5453', '9015', '1127', 'R', 'B', '5487', 'M', '7325', 'L', 'D', '2897', 'z', '7191', '3383', 'E', 't', 't', '963', '2363', '3641', '9827', '6879', '3917', 'm', 'Y', 'w', 'T', 'v', 'v', '3263', 'F', 4349, 3915, 6951, 7337, 7671, 3435, 9177, 'G', 'h', 'Q', 'j', 'v', 'q']
[A]: 5453, 9015, 1127, R, B, 5487, M, 7325, L, D, 2897, z, 7191, 3383, E, t, t, 963, 2363, 3641, 9827, 6879, 3917, m, Y, w, T, v, v, 3263


[Q]: [2623, 909, 1341, 'q', 7775, 'g', 5127, 'u', 1639, 'h', '823', 's', '749', 'N', '1009', '3319', 'y', '3739', 'X', 7875, 'L', 'x', 1457, 1637, 7795], [6389, 6789, 8803, 'h', '823', 's', '749', 'N', '1009', '3319', 'y', '3739', 'P', 6279, 4801, 'k', 'm']
[A]:
h, 823, s, 749, N, 1009, 3319, y, 3739