In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[797, 3071, 'I', 1485, 71, 1107, 'Y', 'o', '4683', 'k', 'K', '9219', 'J', 'B', 'T', '2325', 'K', '1103', '9243', 'R', 'y', 2463, 7611, 'c', 7855, 'l', 7769, 2175, 4069, 'v', 8407], [6165, 'F', 6859, 773, 'b', 6093, 2853, 7285, 'h', 'D', 'U', 'o', '4683', 'k', 'K', '9219', 'J', 'B', 'T', '2325', 'K', '1103', '9243', 'N', 'H', 2679, 2895, 2799, 'Y', 'S', 7101, 'w', 'h', 'Z']