In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3623, 'N', 5939, 1263, 'L', 'r', 'Q', 8687, 'B', 'M', 6189, '473', 'S', 't', '373', '2827', '3845', '5655', '8295', 'z', '9419', 'C', '8559', '4093', '279', 'D', '5087', 'H', 'W', '5975', '6127', 'L', '7829', 'h', 5861], [8705, 't', 6243, 'n', 'w', 'Q', 'B', 2379, 405, 'B', 5983, 6301, 'r', 'S', 'm', 'A', '473', 'S', 't', '373', '2827', '3845', '5655', '8295', 'z', '9419', 'C', '8559', '4093', '279', 'D', '5087', 'H', 'W', '5975', '6127', 'L', '7829', 'u', 'G', 'p', 'U', 'X', 't', 'W', 5645, 6695]