In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6651, 5697, 'c', 's', '7933', '6165', 'P', 'Y', '5645', 'd', '7329', '9771', '1243', '7055', 'R', 'z', 689], ['Z', 6381, 1027, 'F', 'c', 's', '7933', '6165', 'P', 'Y', '5645', 'd', '7329', '9771', '1243', '7055', 'R', 'B', 4045, 'T', 9805]