In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3721, 'd', 'd', 7481, 2161, 4401, 'B', 'd', 'l', 'l', 2827, 'a', 'T', 5999, 'J', 2247, 2111, 'c', 4411, 4157, 3195, 2057, 9761, 'L', 3821, 'n', 'O', 'U', '8903', '3475', 'T', 'H', '4841', '7355', 'k', 'o', '4357', '5101', 'U', 'X', 'T', '5535', 'o', '6785', 'K', '1785', '9883', 'q', 'o', 'w', 'O', '6621', 'g', '7811', 'K', '3983', 'N', 'q', 'a', 'w', 'l', 'n', 3275, 'U'], [2965, 'F', 8809, 4915, 9859, 4137, 'P', 2425, 2017, 49, 7279, 7057, 'T', 'M', 7165, 'X', 'D', 8619, 2079, 9337, 'p', 'l', 'O', 'U', '8903', '3475', 'T', 'H', '4841', '7355', 'k', 'o', '4357', '5101', 'U', 'X', 'T', '5535', 'o', '6785', 'K', '1785', '9883', 'q', 'o', 'w', 'O', '6621', 'g', '7811', 'K', '3983', 'M', 5287]