In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2339, 'm', 'Z', 6581, 'C', 4693, 'x', 'q', 'r', 8993, 'P', 1069, 6879, 6189, '5051', '8823', 'c', 'i', '2069', 'w', '6327', '1665', 'S', '5871', '1859', '5103', 'f', 'h', '2873', '5277', '4597', 'T', 'O'], ['z', 7431, 'O', 3719, 'A', 'Q', 'm', 679, 'M', 3113, 'R', 8069, 'P', 't', 251, 7285, 'j', '5051', '8823', 'c', 'i', '2069', 'w', '6327', '1665', 'S', '5871', '1859', '5103', 'f', 'h', '2873', '5277', '4597', 'p', 'G', 'X', 'V', 2859, 8831, 'P', 6945, 9363, 769, 'g', 't']