In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6529, 'i', 8343, 't', 'h', 5181, 'k', '5863', 'm', 'P', '9787', 'r', '1383', 'U', 'a', 'p', 'T', '1635', 'J', 'X', 'O', 'E', 'W', 625, 'O', 'm'], [4169, 8965, 6125, 'U', 'x', 'E', 7203, 'I', 81, 'P', 'r', 8581, 'k', '5863', 'm', 'P', '9787', 'r', '1383', 'U', 'a', 'p', 'T', '1635', 'J', 'X', 'O', 'v', 'f', 'q', 'b', 'm', 'f', 9239, 'b', 895, 703, 7809, 'E', 'l', 'c', 7915]