In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[83, 'x', 4041, 'C', 4773, 'x', 'h', '613', 'o', '9153', 'P', '6755', '9061', 'A', 8997, 'D', 'f', 'P', 9187], ['G', 'X', 3549, 8237, 9195, 7201, 'y', 'x', 'h', '613', 'o', '9153', 'P', '6755', '9061', 'O', 'a', 5919]