In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['n', 1705, 8635, 9617, 'W', 7963, 'L', 'l', 'J', 'J', 'Q', '9459', 'j', '889', '5791', '6269', '3531', 'D', '1735', '7527', '7253', 'x', 't', '3287', 's', '655', 'K', 'w', 'x', 'l', 'f', '813', 'a', 'F', 'm', 'L', 'M', 'r', 7229, 5733], [1041, 5521, 'J', 'J', 'Q', '9459', 'j', '889', '5791', '6269', '3531', 'D', '1735', '7527', '7253', 'x', 't', '3287', 's', '655', 'K', 'w', 'x', 'l', 'f', '813', 'a', 'F', 'O', 7899, 8037, 1873, 1265, 8387, 'f', 'k', 4611, 8789, 111, 'L', 'X', 2869, 'Q', 'I']