Q: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['E', 9575, 4081, 'C', 9097, 5899, 'H', 'U', 's', 7791, 'j', 6917, 6983, 'H', 'u', 'X', 'k', 7367, 'X', 8855, 'I', 'l', 6513, 'o', 9055, 483, 9607, 7753, '3109', 'z', '2763', 'I', '9605', '4173', '5413', '365', 'B', '9087', '2897', '751', 'a', '3333', 'y', 'I', 'a', '6161', '8919', '8229', 'p', '5659', '8389', 'H', 'T', '433', 'P', 'W', 'N', 'y', 965, 4771, 'r', 'k', 'i', 'l', 8813, 'a', 'C', 'O', 6841, 1809, 'm', 3367, 6799, 's', 'u', 'l', 3055], [9741, 'A', 5247, 3741, 8331, 9489, 7547, 'I', 3121, 'Y', 'S', 1831, 9759, 'o', 2981, 9127, 4817, 'u', 6903, 'N', 'm', '3109', 'z', '2763', 'I', '9605', '4173', '5413', '365', 'B', '9087', '2897', '751', 'a', '3333', 'y', 'I', 'a', '6161', '8919', '8229', 'p', '5659', '8389', 'H', 'T', '433', 'P', 'W', 'O', 6843, 'o', 'G', 'c', 6233, 1969, 'O', 2547, 5143, 1205, 8755, 9127, 4549, 8147, 8129, 8307, 'R', 4881, 'M', 'F', 3061, 6781, 571]
A:
3109, z, 2763, I, 9605, 4173, 5413, 365, B, 9087, 2897, 751, a, 3333, y, I, a, 6161, 8919, 8229, p, 5659, 8389, H, T, 433, P, W