In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: [3633, 'b', 'x', 'u', 'i', 'm', '157', '8745', '57', 'x', '5639', 'J', '663', 'M', 'R', 8411, 4105, 'r', 'p'], ['U', 'M', 'b', '157', '8745', '57', 'x', '5639', 'J', '663', 'i', 2111, 9481, 9581, 'B', 5409]
A:
157, 8745, 57, x, 5639, J, 663