In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['e', 'G', 'k', 2453, 3777, 'V', 'X', 'q', '9391', 'o', '6171', 'H', 'V', '3363', '8645', '6491', '197', '9659', '1905', 'j', 'b', 'l', 6241, 'd'], [8241, 'g', 'N', 'E', 'J', 1373, 6295, 'X', 'q', '9391', 'o', '6171', 'H', 'V', '3363', '8645', '6491', '197', '9659', '1905', 'j', 'S', 9227, 'k', 2641, 'S', 'K', 1389, 'k', 'V', 'U', 'p', 4637, 7057, 'D']