In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1391, 'S', 'U', 9295, 1607, 't', 5393, 9023, 6693, 'h', '7413', '1677', '1253', 'b', 'K', '9955', '7727', '3997', '6617', 'F', 'y', 'Z', 'I', 'J'], [7515, 5565, 9331, 'h', 109, 'n', '7413', '1677', '1253', 'b', 'K', '9955', '7727', '3997', '6617', 'F', 'y', 'O', 'S', 'R']