In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['G', 9065, 'q', 'o', 'd', 'p', 'i', '6923', 'G', 'S', 'Q', '9083', '3087', '3997', '4871', '2207', '2009', 'M', 'M', 'y', 's'], ['Z', 1701, 'J', 9419, 'v', 'p', 'i', '6923', 'G', 'S', 'Q', '9083', '3087', '3997', '4871', '2207', '2009', 'M', 'G', 9963, 8991, 'U', 1, 8157]