In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9607, 8107, 'h', 2951, '715', '7609', '5229', '8699', 'C', 'H', 1005, 'p', 2841, 'W'], [9859, 'r', 'n', 'r', 4113, '715', '7609', '5229', '8699', 'C', 'V', 8181, 1123]