In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[171, 'b', 'c', 'O', '8327', '3149', '3891', '671', 'R', '2383', '9031', '1033', '4105', 'n', 'R', 'U', '4177', '6813', '5129', '9507', 'p', 'e', 'q', 'z', 'z'], [6837, 'H', 'c', 'O', '8327', '3149', '3891', '671', 'R', '2383', '9031', '1033', '4105', 'n', 'R', 'U', '4177', '6813', '5129', '9507', 'p', 'e', 't', 'T', 4671, 5361, 'W', 2375, 8391, 405, 6893, 'p', 7035]