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

[EX Q]: [6017, 2811, '8157', '9625', 'P', 3629], [7857, 1357, '8157', '9625', 'z', 'z']
[EX A]: 8157, 9625

[EX Q]: [987, 885, 2111, 'P', 'e', 'h', 'h', 'C', 'P', 'V', '4563', 'E', 'J', 'M', 'n', 'C', 'Q', 'P', 'k', 'S', 'M', '8993', '8675', '6707', 'Q', 'r', '4351', 'Q', 'q', 'a', 6295, 1061, 1619, 3509, 8583, 'f', 1157, 5365, 'l', 'x', 'B', 'U', 141, 5753, 'F', 7595, 'H'], [8245, 137, 5887, 1267, 5851, 'n', 7393, 'f', 9739, 9983, 'h', 'h', 'C', 'P', 'V', '4563', 'E', 'J', 'M', 'n', 'C', 'Q', 'P', 'k', 'S', 'M', '8993', '8675', '6707', 'Q', 'r', '4351', 'Q', 'q', 'F', 'k', 3463, 'U', 3587, 't', 'j', 'q', 'M', 1213, 9955, 'h', 9779, 'l', 8839, 'G', 8477, 9341, 6071, 'm']
[EX A]: h, h, C, P, V, 4563, E, J, M, n, C, Q, P, k, S, M, 8993, 8675, 6707, Q, r, 4351, Q, q

[EX Q]: [7989, 3159, 4805, 7913, 'u', 'k', 7703, 'l', 4829, 'a', 'n', 'K', 'I', 'P', 'w', '5065', 'w', 'F', '1399', 'Y', '9137', 'R', 'A', '6545', '5011', '1685', 'b', 'E', 'T', 'f', 'A', 'c', 'Q', 'i', 'N', 'H', 'P', 'C', 579, 9867, 'Q', 8907, 7523, 4057], ['I', 9005, 2393, 't', 'w', '5065', 'w', 'F', '1399', 'Y', '9137', 'R', 'A', '6545', '5011', '1685', 'b', 'E', 'T', 'P', 5371, 'O', 7707, 83, 7283, 7903]
[EX A]:
w, 5065, w, F, 1399, Y, 9137, R, A, 6545, 5011, 1685, b, E, T