In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6177, 3755, 6437, 2751, 'k', 609, 7671, 5077, 4429, 423, 5901, 4877, 'c', '877', 'g', 'N', '6695', '6439', 'Y', '313', 'v', '3657', 'Q', 'h', 'E', 'j', 2519, 'N', 8809, 'M', 's', 1549], ['E', 8197, 'G', 9003, 'v', 6167, 'y', 'c', '877', 'g', 'N', '6695', '6439', 'Y', '313', 'v', '3657', 'Q', 'h', 'E', 'l', 'a', 9063, 'b', 'h', 'F', 7235, 3873, 't', 'y', 9435, 1767, 9497]