In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['U', 7433, 9139, '6359', '6849', '9075', '8059', '8013', 'K', 'X', 6623, 'T'], ['w', 'P', 5951, 5775, '6359', '6849', '9075', '8059', '8013', 'K', 'w', 'Y', 'a', 6995, 'N']