In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8407, 'b', 'H', 'y', 'j', 563, '1229', '10005', 'S', 'n', '2521', '2723', '8183', 'l', '1277', '9727', 'i', 's', 8189, 'Y', 'T'], [2017, 'N', 523, 39, 'b', 'o', '1229', '10005', 'S', 'n', '2521', '2723', '8183', 'l', '1277', '9727', 'k', 'T', 'R', 8321, 3725]