In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['f', 5793, 2873, 'm', '9297', 'p', '931', '3309', 't', 'Z', 'h', 5525], ['V', 'k', 'm', '9297', 'p', '931', '3309', 't', 'T', 'k']