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

[EX Q]: [1951, 'Y', 'v', 5955, 75, 'e', 9911, 3885, 335, 'L', 7871, 'z', 'l', 1047, 7915, 'D', 5831, '3495', 'a', 'i', '2657', 'R', 'P', 'N', 'K', '3765', '9331', '7357', 't', 'p', '6279', 'p', '4009', 'T', 'm', 'R', 'z', '1461', '31', '8689', '8807', '7225', '6421', 'r', '2115', 'k', 6911, 6063, 4091, 'z', 2951, 'v', 'n', 'a', 'N', 2063, 'o', 'V', 149, 'k', 6117, 7805], ['G', 8737, 1265, 'B', 'Y', 'f', 2407, 2383, 3405, 'u', 'M', 'g', 3985, 9783, 'V', 1525, '3495', 'a', 'i', '2657', 'R', 'P', 'N', 'K', '3765', '9331', '7357', 't', 'p', '6279', 'p', '4009', 'T', 'm', 'R', 'z', '1461', '31', '8689', '8807', '7225', '6421', 'r', '2115', 'E', 'c', 2823, 2777, 'S', 'f', 't', 's', 'N', 'P', 5597, 'R', 'W', 699, 'f', 'p', 7843, 'y', 3875, 7057, 'u', 'E', 'D']
[EX A]: 3495, a, i, 2657, R, P, N, K, 3765, 9331, 7357, t, p, 6279, p, 4009, T, m, R, z, 1461, 31, 8689, 8807, 7225, 6421, r, 2115

[EX Q]: ['N', 3679, '5181', 'q', 'c', 'W', 'r', 'l', 399], ['f', 6419, 5567, 'L', 'c', '5181', 'q', 'c', 'W', 'r', 'd', 8123, 3981, 'D', 'W']
[EX A]: 5181, q, c, W, r

[EX Q]: [9369, 5975, 'W', 'd', 'I', 6029, 3693, 'I', '8101', 'K', '5209', 'l', 'v', 'W', '4841', '6399', 'T', 'F', 'k', '2165', 'w', 'k', 'B', 'o', 'T', 4201, 7599, 'c', 'W'], ['p', 'p', 'L', 'J', '8101', 'K', '5209', 'l', 'v', 'W', '4841', '6399', 'T', 'F', 'k', '2165', 'Y', 'P', 8947, 'q']
[EX A]:
8101, K, 5209, l, v, W, 4841, 6399, T, F, k, 2165