In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5797, 'G', 6727, 4175, 8563, 2639, 5579, 6333, 9283, 3295, 'k', 6823, 'u', 9885, '2461', '9743', '2157', 'y', '6553', 'e', 'w', '6057', 'D', 'K', 'v', 'N', 'h', '2067', '3475', '605', '3617', '5623', 'Y', 'r', 'T', 8143, 5565, 8065, 'g', 'b', 'C', 'T', 8941, 4903], [1565, 6723, 'b', 'P', 's', 'y', 8927, 'h', '2461', '9743', '2157', 'y', '6553', 'e', 'w', '6057', 'D', 'K', 'v', 'N', 'h', '2067', '3475', '605', '3617', '5623', 'Y', 'r', 't', 'm', 'z', 7995, 6155, 'H', 3159, 'P', 8515, 1743, 8869, 'c', 'l', 9441, 7063, 1217, 'y']