In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['t', 'P', 2811, 'm', 1333, 'm', '9839', '4361', '9211', 'h', 'q', '355', '7733', 'Y', 'w', '9281', '8689', 'a', 2833, 3507, 1453, 8929, 'P', 'r', 'D', 5319, 7903, 4565], [5251, 4923, 8497, 6067, '9839', '4361', '9211', 'h', 'q', '355', '7733', 'Y', 'w', '9281', '8689', 'u', 't']