In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1637, 3427, 4581, 6521, 111, 6947, 8271, 4065, 'z', 'm', 'K', 'a', '1203', '4155', 'o', '9963', 'M', 'F', 'n', '2793', '2811', '8525', 'x', 'U', '7137', '5187', '4069', 'H', 'Q', 'f'], ['J', 7085, 1341, 7495, 'u', 7493, 2867, 7041, 1435, 7767, 'z', 'm', 'K', 'a', '1203', '4155', 'o', '9963', 'M', 'F', 'n', '2793', '2811', '8525', 'x', 'U', '7137', '5187', '4069', 'H', 'J', 'z', 8647, 4861, 3951, 1075, 'Q', 'P', 5601, 4047, 7787]