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

[EX Q]: [6137, 1795, 'J', 9247, 'r', 'w', 'E', 's', '687', 'N', '8213', '1751', '2567', '5673', 'y', '6821', '6863', '8847', 'z', 's', 'N', 'z', 'J', 7209, 'S'], [3317, 657, 3971, 8789, 4953, 9693, 'O', 7845, 'r', 'w', 'E', 's', '687', 'N', '8213', '1751', '2567', '5673', 'y', '6821', '6863', '8847', 'z', 's', 'N', 'z', 'M', 'A', 'B', 'l']
[EX A]: r, w, E, s, 687, N, 8213, 1751, 2567, 5673, y, 6821, 6863, 8847, z, s, N, z

[EX Q]: ['U', 2021, 9935, '873', 'T', '9883', 'y', 8789, 'v'], ['g', 7321, '873', 'T', '9883', 'p', 9721]
[EX A]: 873, T, 9883

[EX Q]: [441, 'r', 's', 4095, 'J', 'A', 9249, 4871, 4529, 'X', 4375, 'b', 'H', '5449', '9727', 'D', '4809', '6461', 'd', 'd', '1101', '997', '4919', 'a', 'f', 'D', 'H', '8975', '9689', '6947', 'f', '3747', 'v', '8387', 'I', 'j', '1975', '4067', 'w', 'c', 't', 1383, 4835, 8333, 'p', 'm', 'D', 'd', 8913, 'g'], ['r', 6751, 'w', 'Y', 'Q', 'v', 1267, 'W', 4311, 'h', 'Q', 'w', 'V', 'i', 'Z', 647, 8515, 3313, 5425, 3485, 4407, 't', '5449', '9727', 'D', '4809', '6461', 'd', 'd', '1101', '997', '4919', 'a', 'f', 'D', 'H', '8975', '9689', '6947', 'f', '3747', 'v', '8387', 'I', 'j', '1975', '4067', 'w', 'r', 7021, 'w', 'Y', 'Y', 2381, 537, 3793, 3603, 7191, 'Y', 'a', 4601, 8483, 8407, 7539, 6367, 'T', 5523, 'n', 1249, 'W', 8255, 1697]
[EX A]:
5449, 9727, D, 4809, 6461, d, d, 1101, 997, 4919, a, f, D, H, 8975, 9689, 6947, f, 3747, v, 8387, I, j, 1975, 4067, w