In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5461, 5993, 'G', 'd', 'U', 729, 'P', '627', '5711', 'D', '2855', '3291', '3101', 'r', '9937', 'Q', 'b', '5049', 'n', 'V', 'y', 1353, 'N', 't', 'm', 21], ['R', 'u', 1447, 8385, 'a', 'a', 'd', 1737, 'y', 'b', 'A', 'P', '627', '5711', 'D', '2855', '3291', '3101', 'r', '9937', 'Q', 'b', '5049', 'n', 'Q', 'S', 87, 'r', 'U', 4819, 3723, 'b', 's', 3953]