In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['J', 'K', 'H', 1375, 'M', 5895, 'E', 7167, 6129, 'M', 2605, 1005, 'L', '5043', '2599', '6035', '7845', 'I', 'j', 's', '3269', '5501', 'f', 'O', '5001', 'O', 'V', '6299', 'z', 'x', 'Y', '373', 'P', 1131, 'W', 2847, 'i', 1881, 'I', 9201, 'U', 1087, 'P', 'd', 7885, 'n', 6389, 'a', 8555, 657, 1193], ['C', 'q', 6283, '5043', '2599', '6035', '7845', 'I', 'j', 's', '3269', '5501', 'f', 'O', '5001', 'O', 'V', '6299', 'z', 'x', 'Y', '373', 'Y', 'j', 3757, 'Z', 3397, 9903, 331, 2187, 7995, 'j', 4827, 9913, 2817, 'O', 9287, 'f', 9299, 7767]