In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6109, 909, 'X', 'T', 1363, 'f', 8023, 'D', 'q', 'q', '5451', '5345', '2365', '2155', '9935', 'V', 'Q', '5929', 's', 'l', 'e', '9133', '1301', 'L', '1479', '6165', 'A', 'B', '5331', '4549', 'Q', 't', 'e', 1255, 4277, 'S', 6809, 's', 'v', 'o', 6941, 'o', 8903, 'c'], [4249, 'H', 'N', 'U', 'D', 'q', 'q', '5451', '5345', '2365', '2155', '9935', 'V', 'Q', '5929', 's', 'l', 'e', '9133', '1301', 'L', '1479', '6165', 'A', 'B', '5331', '4549', 'V', 6671, 1147, 'U', 'D', 5577, 6857, 'E', 4723, 'm', 'Z']