In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3327, 'S', 3267, 1275, 'm', 'x', 7055, 739, 6257, 4753, 'c', 'f', '3045', '8611', 'd', '1025', 'k', '7825', 'm', '5031', '8443', '3133', 'r', '8235', 'X', '6725', '505', '8633', '5485', '6199', '6499', 'U', 'm', 'T', 197, 't', 'j', 6967, 't', 'O', 9931], [1323, 6903, 9125, 'u', 'c', 'f', '3045', '8611', 'd', '1025', 'k', '7825', 'm', '5031', '8443', '3133', 'r', '8235', 'X', '6725', '505', '8633', '5485', '6199', '6499', 'i', 271, 'u', 8403, 'Z', 's', 'n', 'S', 8599, 'F']