In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2829, 'Y', 4303, 'U', 'T', 'w', 6467, '9187', '9559', '905', '5433', '5459', 'Z', 'E', 'a', 'k', '8219', '2501', '8021', 'y', 'k', 'p', 6561, 'k', 'g', 9677, 1825, 4891, 'm'], [8803, 5435, 'i', 'z', 827, 'l', 'Z', 'x', '9187', '9559', '905', '5433', '5459', 'Z', 'E', 'a', 'k', '8219', '2501', '8021', 'y', 'd', 'g', 'L', 3521, 8267]