Q: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['I', 'p', 'o', 'L', 9725, 'H', 2465, 7873, 'a', 9089, 8895, 'l', 4803, 'v', '797', 'L', '4577', '2681', 'p', '6151', '9607', 'U', '8803', 'Q', 'a', '6291', 'Y', 'W', 'g', '731', 'L', 'd', 'f', '915', 't', 'c', '8041', '2605', '9741', 'e', 'i', '6043', '2981', 'q', 'W', 7015, 1827, 3679, 'c', 5599, 3541, 455, 4687, 1937], [1545, 3401, 8361, 'H', 'w', 811, 4245, 'K', 4711, 'V', 'D', 2495, 3121, 'Z', 1807, 'w', 2367, 'm', 6479, 7849, '797', 'L', '4577', '2681', 'p', '6151', '9607', 'U', '8803', 'Q', 'a', '6291', 'Y', 'W', 'g', '731', 'L', 'd', 'f', '915', 't', 'c', '8041', '2605', '9741', 'e', 'i', '6043', '2981', 'j', 'y', 1035, 'q', 7555, 'z', 'x', 9199, 525, 'Y', 4309, 2235, 3125, 205, 1127, 'R', 539, 'J', 'h', 'R', 'd']
A:
797, L, 4577, 2681, p, 6151, 9607, U, 8803, Q, a, 6291, Y, W, g, 731, L, d, f, 915, t, c, 8041, 2605, 9741, e, i, 6043, 2981