In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Y', 'k', 3675, 'c', 'N', 'p', 3419, 2433, 'A', 'p', '391', 'c', 'g', '3603', '1333', 'u', '6243', '6271', 'v', '4101', 'B', '313', '2205', 'V', '1259', 'O', 't', 'H', 'K', 'x', 991, 1909, 3073, 3489, 1565, 'i', 1871, 165, 51, 'E', 'n', 7431, 'Y', 'J', 'j'], ['a', 8693, 673, '391', 'c', 'g', '3603', '1333', 'u', '6243', '6271', 'v', '4101', 'B', '313', '2205', 'V', '1259', 'O', 't', 'H', 'J', 1327, 'o', 7123, 'G', 'c', 9377, 6021, 5615, 8567, 2891, 3189, 'x', 'U', 7039]