In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['u', 'g', 'r', 41, 4921, 2419, '541', '7135', 'K', '6679', 'K', 'k', '5247', 'm', 'd', 'W', 'V', 6299, 'c', 'q', 2841], ['J', 'q', 'A', 1883, 'S', 8829, 25, 8349, 'M', '541', '7135', 'K', '6679', 'K', 'k', '5247', 'm', 'd', 't', 'X', 6285, 'g', 3213, 9395, 9197]