In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8203, 9477, 'd', 9109, 5221, 'l', '4675', 'f', '3065', '6389', '4755', '8119', '789', 'h', 'U', 2707, 'C', 'X', 'N', 'X'], [935, 'S', 'm', 621, 'l', '4675', 'f', '3065', '6389', '4755', '8119', '789', 'M', 6567, 8711, 5893, 'n', 1183, 8937]