In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['L', 'x', 'x', '3691', '253', '7767', 'S', 'h', '9779', 'd', 'E', 'G', 4545, 'V', 9377], [3713, 8855, 'x', '3691', '253', '7767', 'S', 'h', '9779', 'd', 'v', 6393, 'p']