In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['r', 9783, 8873, 'o', 'u', 3981, 'm', 2589, '6977', '9481', '6853', '8707', 'J', 'G', 'g', 'C', 'X', '3301', '5311', 'T', 'p', '8703', '2859', 'y', 'K', 'x', 4013, 'O', 'q', 6141, 'z', 6303, 1715, 'c', 'g', 681, 4369, 4153, 1041, 'M', 'Z', 1757], ['q', 5767, '6977', '9481', '6853', '8707', 'J', 'G', 'g', 'C', 'X', '3301', '5311', 'T', 'p', '8703', '2859', 'y', 'K', 'y', 's', 'd', 5707, 'm', 'K', 7373, 'k', 'D', 'v', 'U', 7111, 4135, 3187, 8283, 'X']