In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6369, 'S', 2979, 'e', 'i', 'z', 2673, '4585', 'Z', 'r', '6527', 'c', 'w', '9221', 'i', 'q', 'v', 'x', 'y', 'Z', 9579, 5967], [7773, 'S', 7385, 1541, 439, '4585', 'Z', 'r', '6527', 'c', 'w', '9221', 'i', 'q', 'K', 'z']