In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[149, 'B', 'v', 1175, 5749, 761, 2685, 'm', 9611, 'W', 4901, 'P', 'm', 9485, 'r', 9787, 'R', 'l', 9959, 'Q', 'R', 'H', '3037', '6103', 'B', '945', 'R', 'r', 'A', '6653', 'D', 'T', '8075', 'n', 'R', '8611', 'H', 'Q', 'R', '2367', '9973', 'k', '2043', '7037', '4205', '3443', '151', 'w', '7897', 'w', 'a', 'j', 9285, 6545, 3289, 7605, 'w', 'N', 'f', 2247, 'U', 'C', 6907, 1197, 'y', 5711, 6553, 5975, 99, 'A', 4271, 1573, 'e', 'T', 'A', 'W'], [3851, 5743, '3037', '6103', 'B', '945', 'R', 'r', 'A', '6653', 'D', 'T', '8075', 'n', 'R', '8611', 'H', 'Q', 'R', '2367', '9973', 'k', '2043', '7037', '4205', '3443', '151', 'w', '7897', 'w', 'a', 'e', 'L', 'V', 'B', 'M', 'h', 9057, 'F', 'c']