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

[EX Q]: [443, 'w', 9731, 'M', 'N', 'P', '9231', 'j', 'H', '5851', 'F', 'W', 2301], ['Z', 1747, 6223, 'u', 1065, 'J', 'N', 'P', '9231', 'j', 'H', '5851', 'J', 5037, 9047]
[EX A]: N, P, 9231, j, H, 5851

[EX Q]: [5911, 'u', 6309, 9397, 9345, 7997, 'U', 'w', 'q', '7585', '3117', '4453', '3581', 'O', 'j', '3815', 'i', 'h', '1507', '3615', 'f', 'f', '2177', '3449', '1243', '5695', 'R', 'Z', 6167, 8919, 'M', 2389, 1105, 5255], ['d', 'F', 'w', 'q', '7585', '3117', '4453', '3581', 'O', 'j', '3815', 'i', 'h', '1507', '3615', 'f', 'f', '2177', '3449', '1243', '5695', 'e', 't', 8685, 'R', 'J', 5015, 8735, 'W', 5913]
[EX A]: w, q, 7585, 3117, 4453, 3581, O, j, 3815, i, h, 1507, 3615, f, f, 2177, 3449, 1243, 5695

[EX Q]: ['j', 7267, 'j', 'A', 'g', 373, '9407', '841', 'N', 'G', '9181', '547', 'Z', '1965', '1837', 'A', '6159', 'H', 'E', '1033', '2631', '3895', 'K', 'd', 'W', 'D', '3929', '7027', '3963', '771', '7655', 'Z', 'y', 'V', 'F', 'g', 't', 'R', 'y', 'q', 5061, 's', 4919, 'q', 'y', 'y', 7773, 329, 's', 'n', 7975, 7235, 'u', 'V', 6129], [5599, 5655, 'U', 2993, 1723, 9701, 9637, 'm', 'T', 'U', 2991, 'E', 8691, 1617, 't', 4685, 3483, 'n', 'X', 's', '9407', '841', 'N', 'G', '9181', '547', 'Z', '1965', '1837', 'A', '6159', 'H', 'E', '1033', '2631', '3895', 'K', 'd', 'W', 'D', '3929', '7027', '3963', '771', '7655', 'Z', 'Z', 1931, 'Q', 'x', 'y', 'D', 1647, 3627, 'p', 'T', 'g', 'T', 3839, 'k', 3433, 7595, 'z', 6591, 6365, 8873, 'Q', 1125, 'y', 'F', 'F']
[EX A]:
9407, 841, N, G, 9181, 547, Z, 1965, 1837, A, 6159, H, E, 1033, 2631, 3895, K, d, W, D, 3929, 7027, 3963, 771, 7655, Z