You will be given a definition of a task first, then some input of the task.
In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

['a', 'J', 8163, 9951, 8125, 5293, 9295, 'V', 'R', 3643, 'R', 'V', 'y', 9481, 2801, 6325, 8969, 'f', 4121, 5173, '7651', '2257', 'y', '1317', '5363', 'C', 'z', '3513', '2781', '9233', 'S', 'Y', '9859', 'R', 'Q', '9397', '4747', '2621', 'J', 'X', '7479', '7123', 'K', '1179', 'y', 'T', 'O', '1305', 'u', 'C', 'W', 'D'], [6479, 9059, 51, 7837, 9597, 'p', 3957, 'r', 7825, 'Z', 'V', 'W', 'X', 'c', 3293, 'l', 'e', 1483, 1091, 5517, 3393, 4653, 'O', 6011, 'w', 9825, 'h', 'y', '7651', '2257', 'y', '1317', '5363', 'C', 'z', '3513', '2781', '9233', 'S', 'Y', '9859', 'R', 'Q', '9397', '4747', '2621', 'J', 'X', '7479', '7123', 'K', '1179', 'y', 'T', 'O', '1305', 'u', 'R', 'M', 'F']
Output:
7651, 2257, y, 1317, 5363, C, z, 3513, 2781, 9233, S, Y, 9859, R, Q, 9397, 4747, 2621, J, X, 7479, 7123, K, 1179, y, T, O, 1305, u