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

[EX Q]: [9945, 7993, 'D', 'C', 1341, 'S', 3245, 'v', 'R', 'a', 'Y', 'm', 'j', 'S', 2325, 7293, 8483, '2185', 'X', '5509', 'v', 'Q', '1557', '2811', '3957', '431', '2403', '9633', 'H', 'd', 'h', 'u', 'P', '3647', 't', '8345', '8157', 'a', '4759', '3097', 'o', 5889, 'c', 2547, 'q', 9407, 'M', 'O'], [2017, 'P', 9637, 7239, '2185', 'X', '5509', 'v', 'Q', '1557', '2811', '3957', '431', '2403', '9633', 'H', 'd', 'h', 'u', 'P', '3647', 't', '8345', '8157', 'a', '4759', '3097', 'Y', 'O', 'U', 495, 'U', 3945, 'h', 9439, 6821, 7583, 6249, 573, 'v', 'T', 2219, 3279]
[EX A]: 2185, X, 5509, v, Q, 1557, 2811, 3957, 431, 2403, 9633, H, d, h, u, P, 3647, t, 8345, 8157, a, 4759, 3097

[EX Q]: [875, 'c', 155, 1315, 4839, 'V', 'V', 'f', 8101, 'p', 'T', 'j', 'J', 'a', 'k', 6651, 7167, 1301, 'm', 6409, 1653, 1483, 5717, 'e', 6085, 6231, 5527, 4623, '6377', '9589', 'h', '8647', '4605', 'C', '4557', '1451', '4523', '1565', '137', 'I', '5071', '7871', 'P', '1237', '7547', '7847', '3241', '2029', 'o', '5955', 'W', 'M', '2545', '5409', '6825', '6183', 'A', 2555, 4117, 3295, 7893, 'u', 'N', 5443, 3763, 9527, 'M', 9847, 4821, 7757, 1595, 'h', 8879, 'V'], ['D', 'E', 5181, 935, 6263, 'p', 'y', 'd', 8291, 5551, 'S', 'U', 's', 'Z', 2627, 'v', 'J', 9197, 1035, 209, 'B', 'N', 8071, 'K', 2605, 6055, 4455, '6377', '9589', 'h', '8647', '4605', 'C', '4557', '1451', '4523', '1565', '137', 'I', '5071', '7871', 'P', '1237', '7547', '7847', '3241', '2029', 'o', '5955', 'W', 'M', '2545', '5409', '6825', '6183', 'e', 4375, 2351, 9331, 7935, 'p', 'y', 8505, 'W', 'D', 'r', 'z', 'Y', 6933, 9651, 8235, 'K', 'P', 'L']
[EX A]: 6377, 9589, h, 8647, 4605, C, 4557, 1451, 4523, 1565, 137, I, 5071, 7871, P, 1237, 7547, 7847, 3241, 2029, o, 5955, W, M, 2545, 5409, 6825, 6183

[EX Q]: [2087, 5665, 'W', 'H', 6711, '8181', 'q', '1949', 'j', '7351', 'g', 5827, 4893, 9173], [5187, 4249, '8181', 'q', '1949', 'j', '7351', 'w', 'Z', 'C', 3255]
[EX A]:
8181, q, 1949, j, 7351