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

[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]: [431, 4017, 'R', 'a', 'F', '9581', 'Y', 'f', 'z', 'b', 1235], [4115, 'u', 'g', 'f', 2455, 'a', 'F', '9581', 'Y', 'f', 'z', 'm', 7245, 'I', 7021]
[EX A]: a, F, 9581, Y, f, z

[EX Q]: [4443, 7377, 2861, 'o', 6681, 2969, 't', 3625, 6223, 'c', 7597, 7953, 'w', 5227, 't', 4309, 'r', 'h', 'M', 'T', 347, 'D', 757, 'P', 'J', 'o', 'X', 'V', 'Q', '1975', '4815', 'f', 'V', 'Y', '7819', 'h', '5845', 'Q', '6129', 'u', 'm', 'G', 'Z', '3877', '9557', '10003', '2713', 'b', 'v', '4661', '8121', 'F', 'p', '3989', 'u', '4831', '135', 'C', 'n', 'p'], ['S', 3641, 4375, 'f', 6279, 'F', 5841, 3771, 'H', 1197, 'P', 7881, 981, 9417, 5115, 'T', 6205, 4799, 'y', 'Q', '1975', '4815', 'f', 'V', 'Y', '7819', 'h', '5845', 'Q', '6129', 'u', 'm', 'G', 'Z', '3877', '9557', '10003', '2713', 'b', 'v', '4661', '8121', 'F', 'p', '3989', 'u', '4831', '135', 'm', 'i', 2951, 4599, 7627, 'v', 't', 7499, 'C', 989, 'n', 4665, 2589, 7117, 'm', 'v', 'z', 'B', 'p']
[EX A]:
Q, 1975, 4815, f, V, Y, 7819, h, 5845, Q, 6129, u, m, G, Z, 3877, 9557, 10003, 2713, b, v, 4661, 8121, F, p, 3989, u, 4831, 135