In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1575, 4015, 'U', 'v', 3743, 'z', 'k', 9885, 'P', 5765, 'b', 'j', 5067, '4977', 'n', 'A', '7871', '7795', 'F', 'W', '9385', '6121', '3991', '3681', '8747', '8351', 'y', 'A', '345', 'r', 9309, 8551, 5839, 4599, 8849, 6335, 'g', 'o'], [3417, 'u', 'w', '4977', 'n', 'A', '7871', '7795', 'F', 'W', '9385', '6121', '3991', '3681', '8747', '8351', 'y', 'A', '345', 'n', 25, 8359]