Given the task definition and input, reply with output. In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

['M', 'i', 'M', 'G', 'P', 3849, 'Z', 't', 717, 2591, 5607, 't', 'N', 163, 'j', '5529', '4405', 'S', '1775', 'O', 'p', '7087', 'Z', 'o', '1345', '1473', 'b', 'O', '5831', '4763', '1149', '7569', 'I', 'S', '8013', 'V', 531, 'X', 3391, 'v', 'E', 1173, 3393, 'f'], ['W', 3937, 6921, 7205, 'J', 5565, 8075, 'D', 'u', '5529', '4405', 'S', '1775', 'O', 'p', '7087', 'Z', 'o', '1345', '1473', 'b', 'O', '5831', '4763', '1149', '7569', 'I', 'S', '8013', 'k', 'C', 3087, 6657, 'k', 8579, 4059, 'g', 'h', 5925, 7279, 'V', 9775, 1335, 2281, 8389]

5529, 4405, S, 1775, O, p, 7087, Z, o, 1345, 1473, b, O, 5831, 4763, 1149, 7569, I, S, 8013