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

[EX Q]: ['B', 'f', 'Y', 'r', 4391, 'B', '6995', '7077', 'p', '3191', 'M', 1379, 5473], [3689, 'g', 5189, 'w', 4837, 'B', '6995', '7077', 'p', '3191', 'B', 9145]
[EX A]: B, 6995, 7077, p, 3191

[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]: ['g', 'R', 'L', 'Q', 9365, 7977, 'u', 7131, '5381', 'a', '1233', 'E', '5983', 'X', 'e', '9843', '845', 'b', 'r', '1201', '5973', '8293', 'h', '397', 'l', 'x', 't', 'B', 'q', 2863, 'D', 8669, 'O', 1579, 7111, 'N', 7697, 'N', 'B', 5303, 'S'], [5021, 6725, 9405, 3497, 7033, 'G', 'Y', '5381', 'a', '1233', 'E', '5983', 'X', 'e', '9843', '845', 'b', 'r', '1201', '5973', '8293', 'h', '397', 'l', 'h', 'A', 1443, 7119, 5237, 7035, 'Y', 9009, 5713, 'J', 'b', 9631]
[EX A]:
5381, a, 1233, E, 5983, X, e, 9843, 845, b, r, 1201, 5973, 8293, h, 397, l