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.

[5773, 5253, 'w', 9739, 'U', 3909, 1857, 5627, 5117, 7845, 753, 'd', 'n', 3165, 8371, '539', 'u', 'Y', '8257', 'm', '5713', '4369', '4585', '6041', '8163', 'C', '5725', 'd', '4455', '7245', 'Q', 't', 'N', '7019', 'C', '6227', 'l', '827', 'E', 'f', '9579', '3603', '1511', '3613', '9983', 'u', 'f', 1965, 'W', 1475, 'g', 'X', 9295, 2961, 457, 8557, 7947, 3903, 'c', 5009, 5859, 'X', 4303, 'V', 'a', 1795, 8127, 'i', 2355, 'U'], [6247, 6897, 'V', '539', 'u', 'Y', '8257', 'm', '5713', '4369', '4585', '6041', '8163', 'C', '5725', 'd', '4455', '7245', 'Q', 't', 'N', '7019', 'C', '6227', 'l', '827', 'E', 'f', '9579', '3603', '1511', '3613', '9983', 'a', 's', 8879, 887, 'h', 't', 3879, 'w', 317, 7175, 'J', 'H', 'C', 'S', 'o', 9195, 8477, 3171, 3847, 1031, 3825, 2737, 'D', 8369, 3349, 'N']
539, u, Y, 8257, m, 5713, 4369, 4585, 6041, 8163, C, 5725, d, 4455, 7245, Q, t, N, 7019, C, 6227, l, 827, E, f, 9579, 3603, 1511, 3613, 9983