In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2477, 9529, 'c', 'P', 'e', 'L', 'o', 8923, 's', 1853, 'V', 9819, 2569, 'h', 1143, 'v', 5311, 'K', 6465, 4247, 3237, 'q', '7673', '6017', 'M', '5123', 'U', '9901', 'b', '5409', 'A', '7599', '3585', 'Z', '3433', 'Z', '1433', 'm', 'U', 'E', 'E', '427', '2533', '8121', '1351', '589', 's', 5259, 3689, 'R', 'P'], [3995, 8043, 'Z', 1575, 'e', 9051, 'Y', 'q', '7673', '6017', 'M', '5123', 'U', '9901', 'b', '5409', 'A', '7599', '3585', 'Z', '3433', 'Z', '1433', 'm', 'U', 'E', 'E', '427', '2533', '8121', '1351', '589', 'k', 'k', 8065, 'z']