In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5069, 7237, 's', 7071, 'w', 'b', 9771, 5435, 'K', 'd', 'r', '9581', 'e', '7679', '1829', 'O', 'Z', 'U', 'W', 'J', 'q', '3709', 'x', 7209, 437, 9391, 'H', 'e', 265, 4489, 'J', 'p'], [21, 8051, 9041, 'S', 2665, 'm', 5465, 5747, 'd', 'r', '9581', 'e', '7679', '1829', 'O', 'Z', 'U', 'W', 'J', 'q', '3709', 'U', 'm', 'F', 'I', 7283, 6391, 6087, 6861, 6071]