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

[EX Q]: [6137, 1795, 'J', 9247, 'r', 'w', 'E', 's', '687', 'N', '8213', '1751', '2567', '5673', 'y', '6821', '6863', '8847', 'z', 's', 'N', 'z', 'J', 7209, 'S'], [3317, 657, 3971, 8789, 4953, 9693, 'O', 7845, 'r', 'w', 'E', 's', '687', 'N', '8213', '1751', '2567', '5673', 'y', '6821', '6863', '8847', 'z', 's', 'N', 'z', 'M', 'A', 'B', 'l']
[EX A]: r, w, E, s, 687, N, 8213, 1751, 2567, 5673, y, 6821, 6863, 8847, z, s, N, z

[EX Q]: ['Z', 't', 8725, 'H', 6417, 7935, 'r', '831', 'c', '8509', '8765', '847', '9425', '3691', 'h', 'O', 'j', 'G'], [1931, 'E', 'Y', 9491, '831', 'c', '8509', '8765', '847', '9425', '3691', 'M', 8629, 'z', 'j', 3887]
[EX A]: 831, c, 8509, 8765, 847, 9425, 3691

[EX Q]: ['X', 'I', 'I', 9263, 'X', 'P', 641, 'l', '6681', 'g', '1961', '7221', 'L', 'I', '1241', 'A', 'u', 'V', '1041', '2753', 'h', 2105, 'u', 8081], [2339, 'K', 2723, 6791, 2665, 1935, 5759, 'l', '6681', 'g', '1961', '7221', 'L', 'I', '1241', 'A', 'u', 'V', '1041', '2753', 'V', 3157]
[EX A]:
l, 6681, g, 1961, 7221, L, I, 1241, A, u, V, 1041, 2753