In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[241, 4975, 'J', 'f', 8909, 'M', 4069, '107', '1409', 'E', '8345', 'F', '9537', '8905', '849', 'W', 9299, 6831, 6935, 'q'], ['i', 5147, 't', 5355, 4475, 5833, 3863, 8725, '107', '1409', 'E', '8345', 'F', '9537', '8905', '849', 't', 'R', 1045, 'j']