In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7617, 6033, 'c', 9255, 'L', 3441, 'P', 'N', 'C', '7893', 'u', '2383', 'P', '3457', 'h', '6401', 'K', '3319', '6815', '1357', '1329', '8505', 'X', 'j', '9159', '9063', '3933', '8697', 'n', 'G', '5387', 'p', '4575', 'p', 'v', 4009, 247, 'N', 'Z', 9887, 109, 'R'], ['f', 9909, 'P', 5877, 'P', 'N', 'C', '7893', 'u', '2383', 'P', '3457', 'h', '6401', 'K', '3319', '6815', '1357', '1329', '8505', 'X', 'j', '9159', '9063', '3933', '8697', 'n', 'G', '5387', 'p', '4575', 'U', 593, 'P', 133, 9651, 3315, 'O', 'Z', 3707, 3885, 1741, 4749, 'e', 'r', 'd', 421]