In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

[605, 'W', 7189, 'X', '7897', '5823', 'P', '9001', 'J', 'r', 2595], ['z', 'W', '7897', '5823', 'P', '9001', 'J', 'Z', 'w']
7897, 5823, P, 9001, J

[5599, 'o', 'p', 'T', 'o', 'p', 'B', 'M', '283', 'R', 'a', '9671', '8125', 'D', 'e', 'O', 'O', 3319], ['J', 2811, 7263, 'C', 4889, 477, 'o', 'p', 'B', 'M', '283', 'R', 'a', '9671', '8125', 'F', 3717, 'X', 1407, 2097, 'J', 'N', 'W']
o, p, B, M, 283, R, a, 9671, 8125

[7317, 7209, 'O', 'U', 'P', 4765, 'm', 't', 's', 7853, 455, 'F', '9939', '8177', 'E', '4121', '6421', '8503', 'L', 'b', 'G', '9485', 'G', 'X', 9863, 'q', 2687, 'W', 'u', 6017], ['e', 't', 3415, 'F', '9939', '8177', 'E', '4121', '6421', '8503', 'L', 'b', 'G', '9485', 'X', 2011, 'B', 'X', 'y', 7167, 'O']

F, 9939, 8177, E, 4121, 6421, 8503, L, b, G, 9485