In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[39, 'q', 5913, 'w', '7115', 'a', 'Z', 'C', 'X', '5899', 'J', 'y', 'l', '157', '4241', 'g', 't', '2581', 'n', 'c', '8945', 'f', 8745, 9695, 'b', 1037, 'p', 'i', 'z', 'u', 7387, 'd', 2207, 4811, 4665], ['R', 1333, 7657, 'w', 'k', 'Q', 7013, 'p', 3967, 8635, 8679, 7183, 'Q', 'g', 9375, 8163, 9421, '7115', 'a', 'Z', 'C', 'X', '5899', 'J', 'y', 'l', '157', '4241', 'g', 't', '2581', 'n', 'c', '8945', 'y', 'N', 2055, 'f', 4041, 'V', 417, 'i']