In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5627, 2561, 1813, 'G', 5365, 'b', 'i', 'w', 6921, 6723, 'R', 'M', 8761, 4535, 'p', 7637, 'a', 's', 't', 'H', 2099, 8881, '9967', '7821', 'm', '5157', 'K', 'i', 'Q', '7963', '5039', 'A', '7527', 'w', '8151', 'o', 'd', 'q', '263', '1229', '7347', 'Z', 'M', 'b', 'F', 'P', 'L', 4805, 3797, 'U', 3427, 'h', 557, 169, 9821], [4431, 1041, 2351, 2035, 6087, 9573, 'M', 9113, 'A', 3657, 8583, 'L', 'L', 's', 'x', 'v', '9967', '7821', 'm', '5157', 'K', 'i', 'Q', '7963', '5039', 'A', '7527', 'w', '8151', 'o', 'd', 'q', '263', '1229', '7347', 'Z', 'M', 'b', 'O', 4099, 'v', 2379, 6509, 351, 'M']