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

[EX 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]
[EX A]: 6945, C, j, 4891, 4001, j, f, 8117, T, 2147, I, 3759, 5781, g

[EX Q]: ['M', 6637, 'd', 'D', 8611, 'U', 'm', 'y', 8085, 'M', 'W', 4845, 'l', 2477, 'f', 'B', 's', 'D', '7597', 'S', '2907', 'o', '1905', 'p', 'S', 'C', 'S', '6403', 'D', 'V', '5265', 'L', 'D', '6031', '2585', '7087', '3941', '573', 'c', 'b', 9083, 9449, 7629, 5633, 3843, 'R', 9421, 2693, 'M', 'b', 3739, 'l', 333], [6017, 'W', 2775, 'W', 4759, 'W', 'q', 'k', 'f', 4299, 5523, 'E', 5391, 'd', 2611, 'l', 5849, 9603, 3831, 'D', '7597', 'S', '2907', 'o', '1905', 'p', 'S', 'C', 'S', '6403', 'D', 'V', '5265', 'L', 'D', '6031', '2585', '7087', '3941', '573', 'o', 4621, 'N', 'c', 'R', 'V', 'p', 'm', 7625, 9815, 'b', 8449]
[EX A]: D, 7597, S, 2907, o, 1905, p, S, C, S, 6403, D, V, 5265, L, D, 6031, 2585, 7087, 3941, 573

[EX Q]: ['j', 2505, 'I', 2799, 5713, 6309, 'b', 7999, 6823, 'J', 5837, 't', 'F', 'D', 9523, 5913, '5973', '8681', '3971', '3383', 'W', '711', '1401', 'w', '1195', '4525', 'o', 'S', 'c', '7417', 'D', '7369', 'Z', 'B', 'B', 'j', 'P'], [7179, 'a', '5973', '8681', '3971', '3383', 'W', '711', '1401', 'w', '1195', '4525', 'o', 'S', 'c', '7417', 'D', '7369', 'Z', 'b', 'j', 'T', 3807, 'F', 5361, 10029, 1003]
[EX A]:
5973, 8681, 3971, 3383, W, 711, 1401, w, 1195, 4525, o, S, c, 7417, D, 7369, Z