In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[421, 'o', 'Z', 'q', 4491, 'u', 'V', 'y', 'A', '7307', '2563', '7081', '1517', '4743', 'E', 'g', 'm', 6701, 477], [4525, 's', 'l', 'c', 'u', 'V', 'y', 'A', '7307', '2563', '7081', '1517', '4743', 'E', 'g', 'z', 2167, 4203, 'a', 'q', 'g', 'd', 8241, 'Q']