In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['N', 'o', 'm', 'q', 'Z', 2419, 9089, 'H', 5425, 'h', 8855, 'k', '5001', '7315', '363', '9179', '3785', '2569', 'U', 'G', 'h', '1129', '2663', '871', 'i', '7551', '7059', 'X', 9361, 6841, 3687, 6393, 'K', 'c', 'v'], [8611, 'B', 993, 'c', 5115, 'z', 'k', '5001', '7315', '363', '9179', '3785', '2569', 'U', 'G', 'h', '1129', '2663', '871', 'i', '7551', '7059', 'A', 'c', 8699, 10023, 't', 1167, 3281, 9959, 4009, 'c', 9375, 'Z', 'S', 9389]