In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2671, 'i', 'n', '6059', '6211', 'r', 'T', 4841], ['z', 'q', 1157, 5105, 'n', '6059', '6211', 'r', 'h', 5023, 3403, 1423]