Given the task definition and input, reply with output. In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

['y', 'z', 3507, 3561, 'x', 5121, 'N', 'K', 3445, 'X', 'c', 2575, 'm', 2059, 9797, 8313, 1521, 4187, 'A', 't', '5929', '2095', '1345', 'w', 'x', 'x', 'p', 'h', '483', '1891', '1589', '9607', 'b', 'p', 'E', 'l', 'i', '7233', '3231', 'n', '4699', 'L', '3929', 'y', '1957', '9445', 'P', 'z', 'b', 'h', 'x', 'g', 429, 3035, 5853, 'u', 'u', 1021, 6079, 'T', 9553], [4947, 'z', 'Q', 1957, 10015, 10017, 7007, 4059, 119, 'H', 'D', 885, 'N', '5929', '2095', '1345', 'w', 'x', 'x', 'p', 'h', '483', '1891', '1589', '9607', 'b', 'p', 'E', 'l', 'i', '7233', '3231', 'n', '4699', 'L', '3929', 'y', '1957', '9445', 'P', 'z', 'b', 'h', 'Q', 'd', 3821, 'K', 1411, 'M', 9955, 2295, 'P', 'N', 'R', 3277, 1141, 'P', 'Z', 4367]
5929, 2095, 1345, w, x, x, p, h, 483, 1891, 1589, 9607, b, p, E, l, i, 7233, 3231, n, 4699, L, 3929, y, 1957, 9445, P, z, b, h