In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['f', 5631, 'j', 1975, 's', '6523', 'D', '3181', '295', 'i', 'h', 127, 7439], [9243, 'e', 'T', 'D', '6523', 'D', '3181', '295', 'i', 'O', 773, 3753, 7319]