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

['I', 'c', 6517, 2197, 5691, 'U', 'B', '9149', 'U', 'R', '8589', 'r', '1329', '7559', '5375', '4935', 'r', 5909], ['m', 6645, 5131, 7061, 1851, '9149', 'U', 'R', '8589', 'r', '1329', '7559', '5375', '4935', 'Q', 5417]
9149, U, R, 8589, r, 1329, 7559, 5375, 4935