In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4573, 4375, 5379, '6507', 'D', '4159', 'm', '5833', 'q', '7587', 's', '5367', 'M', '5829', '8887', 'E', 1267, 2997, 9775, 1279, 6385, 2433, 6061, 'P', 'G', 'g'], [4819, 'A', 'X', 'l', 'L', '6507', 'D', '4159', 'm', '5833', 'q', '7587', 's', '5367', 'M', '5829', '8887', 'b', 'h', 5089, 6205, 6677]