In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['M', 237, 'm', 'R', 'e', 'l', 'w', '4027', '3251', '6357', '7687', '4437', '8739', '1693', '1361', '7573', 'R', 'h', 'm', '9757', 'J', 'E', 'd', 8985, 4585, 1255, 'l', 'B', 'a', 1265, 'K'], [917, 'N', 2949, 'H', 9755, 3227, 3653, 'L', 5979, 'l', 'w', '4027', '3251', '6357', '7687', '4437', '8739', '1693', '1361', '7573', 'R', 'h', 'm', '9757', 'J', 'E', 'i', 6781]