In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4773, 'H', 9145, 7947, 'B', 'm', 4843, 's', 7907, 3839, 'i', 4375, 't', 5777, 'V', 7189, 'Z', 'S', '9767', '1091', 'C', 'Q', '4145', '1085', '2097', '2353', '7267', '5869', '2943', '27', '5685', 'w', 'g', '5657', 'P', 'w', 'F', 'p', 'y', 2735, 'Y'], [7153, 'i', 5015, 'b', 4477, 4509, '9767', '1091', 'C', 'Q', '4145', '1085', '2097', '2353', '7267', '5869', '2943', '27', '5685', 'w', 'g', '5657', 'P', 'w', 'F', 'P', 'M', 'n', 'E', 6737, 9879, 'q', 3177, 'M']