In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8937, 'W', 2573, 'A', 'Y', 3339, 8231, 'r', 'g', 9119, 8725, 'Y', 4077, 10013, 'c', 2127, 3095, 'S', '2557', '9777', 'E', 'c', '9905', '6403', '5941', 'b', '5197', 'N', '2497', '7795', 'g', '7153', '507', 'v', '2835', '7119', '7851', '8355', 'F', 'B', '7595', 'Z', '2325', '9817', 'w', '7883', 'f', 'g', 5, 7717, 'e', 4555, 'K', 'R', 4637, 8957, 3145, 'u', 4327, 6755], [267, 'T', 'u', 'j', 'u', 8127, 7233, 5877, 6969, 'E', 6075, 2053, 979, 'q', 'n', 'n', 1299, 'q', 'R', 'q', 'e', 'J', 'U', 'w', 'L', 9059, 'S', '2557', '9777', 'E', 'c', '9905', '6403', '5941', 'b', '5197', 'N', '2497', '7795', 'g', '7153', '507', 'v', '2835', '7119', '7851', '8355', 'F', 'B', '7595', 'Z', '2325', '9817', 'w', '7883', 'f', 'c', 's']