In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['F', 'S', 3443, 'p', 2309, 'A', 'f', 'x', 'E', 'J', '3521', '7343', '9575', 'K', '3107', 'd', '3441', '8835', 'w', 'R', '2479', '5993', 'y', '9865', '1017', 'E', 'g', '7025', 'a', '7107', '403', 's', 5277, 5387, 5165, 2951, 'G', 4869, 6241, 'J', 9697, 'G', 'w', 'Z', 331, 'T', 1641, 3451, 9937, 7481, 9255], [3999, 8065, 5067, 'g', 'U', 2729, 'b', 6883, 5361, 'o', 6843, 'j', 3073, 2541, 'E', 'J', '3521', '7343', '9575', 'K', '3107', 'd', '3441', '8835', 'w', 'R', '2479', '5993', 'y', '9865', '1017', 'E', 'g', '7025', 'a', '7107', '403', 'Z', 'J', 'V']