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

[EX Q]: [3585, 8561, '6537', 'm', 'e', 'E'], ['H', 'x', '6537', 'm', 'i', 9553]
[EX A]: 6537, m

[EX Q]: [4275, 8037, 5099, 'T', 2089, 'E', 5305, 'r', 'k', 9537, '57', 'v', '6257', '5991', '6455', 'a', '9565', '885', 'F', '2219', '2797', '9309', 'J', 'O', 2707, 8633, 8875, 9045, 'q'], [3221, 'f', 3167, '57', 'v', '6257', '5991', '6455', 'a', '9565', '885', 'F', '2219', '2797', '9309', 'J', 'C', 3665, 'm', 6901, 3441, 5601, 6983, 'i', 'z']
[EX A]: 57, v, 6257, 5991, 6455, a, 9565, 885, F, 2219, 2797, 9309, J

[EX Q]: [7587, 'P', 5317, 3767, 'i', 2165, 6191, 'c', 8237, 'H', 9139, 'v', 'K', 395, 'X', 'C', '6833', 'M', '2577', '4007', '4101', '7385', '8599', '2887', '989', 'v', 'w', '9603', 'w', '7887', '7737', '3041', 'c', '3441', '8877', 'l', 7239, 'y', 'g', 'J', 1571, 7147, 'S'], [2763, 1195, 1739, 2503, 7251, '6833', 'M', '2577', '4007', '4101', '7385', '8599', '2887', '989', 'v', 'w', '9603', 'w', '7887', '7737', '3041', 'c', '3441', '8877', 'f', 9815, 'z', 's', 6567, 'c', 'U', 'u', 'y', 'q', 'w', 'y', 2979, 3233, 991, 'V', 'm']
[EX A]:
6833, M, 2577, 4007, 4101, 7385, 8599, 2887, 989, v, w, 9603, w, 7887, 7737, 3041, c, 3441, 8877