In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['S', 'y', 'u', 5305, 'V', 7309, 4629, 6245, 'k', 'b', 'L', 'a', 6547, 7923, 6495, 7621, 'c', '6449', 'H', '3923', '2625', '1815', '4265', '6331', 'Z', '9753', '851', 'n', '1109', '8835', '5431', '1071', 'j', '4485', 'T', 'S', '2157', '1695', '1651', 'g', 'n', 'w', 'M', 659, 'b', 6597, 'U', 'Q', 2351, 'W', 'a', 'U', 5861, 6821], [5495, 3357, 'R', '6449', 'H', '3923', '2625', '1815', '4265', '6331', 'Z', '9753', '851', 'n', '1109', '8835', '5431', '1071', 'j', '4485', 'T', 'S', '2157', '1695', '1651', 'g', 'n', 'w', 'q', 'z', 'x', 8043, 1303, 'I', 7925, 's', 'e', 2003, 4417, 1221, 4253]