In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['j', 3951, 6713, 'M', 'S', 'k', 429, 'd', 'k', '3367', 'G', 'a', '937', '7645', 'D', 'J', '5779', '7727', '2595', '1405', '7481', '91', 'q', 'e', 369, 2435, 3113, 'S', 'A', 'w', 'r', 'J', 'r', 'E', 'j'], [3027, 5335, 'z', 3579, 'a', 'd', 'k', '3367', 'G', 'a', '937', '7645', 'D', 'J', '5779', '7727', '2595', '1405', '7481', '91', 'p', 5091, 2223]