In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4317, 'w', 'K', 5983, 'W', 2081, 5965, 6849, 'N', 'S', 'o', 8265, 5659, 'O', 4499, 's', '3243', '4157', '4777', '233', '99', 'X', 'd', 'n', 'K', 'Y', '341', '2675', '1197', 'p', '2543', 'N', '4349', '5903', 'S', 4023, 493, 2563, 'O', 'u', 'G', 'p', 729, 2977, 3989, 'U', 'Y'], ['U', 7889, 'k', 9967, 'q', 4231, 4189, 309, 6175, 3175, 9307, 8711, 7759, 'n', 'V', 'b', 'h', '3243', '4157', '4777', '233', '99', 'X', 'd', 'n', 'K', 'Y', '341', '2675', '1197', 'p', '2543', 'N', '4349', '5903', 'k', 'T', 7667, 'k', 1419, 8327, 3951, 1013, 10021, 9091, 'd', 8077, 7779, 'B', 'X', 2785]