In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7087, 'O', 'm', 'x', 's', '6389', 'P', 'H', '5367', 'R', '8535', 'A', '4539', 'b', 'K', 'c', '7589', '7439', '4319', 'C', 'p', 'l', 's', '5089', '7169', '6165', '5805', 'M', '2245', 'X', 'X', 'W', 'C', 3049, 1519, 1177, 291, 't', 'n', 4175], ['u', 'x', 'n', 7347, 8973, 'i', 3725, 'y', 'I', 'M', 'h', 'P', 'v', 'x', 's', '6389', 'P', 'H', '5367', 'R', '8535', 'A', '4539', 'b', 'K', 'c', '7589', '7439', '4319', 'C', 'p', 'l', 's', '5089', '7169', '6165', '5805', 'M', '2245', 'X', 'X', 'S', 6141, 2945, 'D', 2975, 'F', 'N', 'N']