In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2495, 4065, 'q', 'z', 4121, 'S', 'i', 'P', 1451, 'H', 'E', 3503, 'A', 'z', 3175, 'i', 'k', 'F', 8109, 'c', 'd', '471', '7315', 'g', 'o', 'W', '1829', '9229', '7489', '3229', '1569', '4489', '637', '9527', '1565', '2423', '7785', '5633', 'o', '7253', '6885', 'd', 'y', 'N', '4151', 's', 'w', 7745, 3761, 7571, 4483, 'h', 'Q', 'D', 'q', 'y', 9529, 6937, 't', 'a', 'o', 'C', 6287], [399, 1279, 3655, 7373, 'o', 'H', 1121, 'B', 473, 205, 1923, 'm', 't', 'e', 651, 'Z', 2351, 'e', 'c', 'd', '471', '7315', 'g', 'o', 'W', '1829', '9229', '7489', '3229', '1569', '4489', '637', '9527', '1565', '2423', '7785', '5633', 'o', '7253', '6885', 'd', 'y', 'N', '4151', 's', 'L', 'r', 'Z', 7673, 6753, 7005, 9351, 7961, 'J', 'c', 'C', 9057, 'Q', 4315, 1201, 'O', 'X', 6147, 'Z', 4555, 'Q', 'z', 6547, 931, 41, 'u']