In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[929, 3645, 6471, 3345, 3615, 2329, 'O', 'x', 'Y', 'e', 'D', 'I', 'q', '2509', '2625', '5183', 'q', 'V', 'm', '1463', 'k', 'X', 'I', '7823', 'l', '8299', '3543', 'Y', '1121', 'Z', 'z', 'y'], [187, 2115, 'a', 's', 6817, 3481, 'K', 'p', 6493, 8125, '2509', '2625', '5183', 'q', 'V', 'm', '1463', 'k', 'X', 'I', '7823', 'l', '8299', '3543', 'Y', '1121', 'Z', 'd', 6865, 795, 'm', 4423, 3965, 'Z', 'A']