In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['t', 'q', 'y', 7783, 2985, 1019, 5549, 83, 'K', 6781, '4857', 'N', 'g', '3159', '3199', 'y', '7885', '10015', '1957', 'x', '8577', 'b', 'i', 3807, 'N', 9037, 6299, 'I'], ['n', 'V', 'C', 'R', 4579, 6671, 2327, 7683, 'D', '4857', 'N', 'g', '3159', '3199', 'y', '7885', '10015', '1957', 'x', '8577', 'd', 9183, 2845, 8829, 'P', 9145, 1761]