In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6719, 'h', 4905, 2097, 'O', 'Y', 'Z', 'q', '6779', '8877', '4431', 'f', '6241', 'j', 'R', 2803, 'h', 'w', 6941], [8687, 9831, 'T', 'g', 'i', 'J', 'Z', 'q', '6779', '8877', '4431', 'f', '6241', 'L', 'C', 8969]