In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['r', 'u', 6461, '9255', 'T', 'D', '6367', 'i', 's', 'l'], [7049, 6243, '9255', 'T', 'D', '6367', 'i', 'D', 8875, 'J', 4035]