In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6635, 'B', 'N', 's', 'D', 'd', '7379', 'q', '21', '9669', '4189', '7963', 'e', '2921', 'p', 'P', 'P', 'E', 8511, 's', 1583, 'L', 741, 9087], ['Z', 5895, 3389, 'm', '7379', 'q', '21', '9669', '4189', '7963', 'e', '2921', 'p', 'P', 'q', 1147, 'B']