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

[1529, 'f', 6905, 'Y', 'U', 4457, 'f', 'g', 'g', '8363', 'a', '9567', 'M', 'w', '6615', 'h', '1983', '2367', '8295', 'b', '3639', 't', '4151', '8941', '5249', 'Y', 'z', '3527', '5985', 'I', 'W', 'O', 'u', 1627, 3079, 5063, 'E', 'k', 'W', 7979], [1691, 389, 'H', 2313, 405, 1877, 'm', 'Y', 'Y', 6791, 'A', 'A', 'Q', 1371, 3419, 'w', 'V', 'h', 5871, 'J', 9885, 8423, 'y', 6993, 283, 'g', 'g', '8363', 'a', '9567', 'M', 'w', '6615', 'h', '1983', '2367', '8295', 'b', '3639', 't', '4151', '8941', '5249', 'Y', 'z', '3527', '5985', 'I', 'W', 'O', 'L', 'F', 'E']
g, g, 8363, a, 9567, M, w, 6615, h, 1983, 2367, 8295, b, 3639, t, 4151, 8941, 5249, Y, z, 3527, 5985, I, W, O