In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5035, 8437, 'J', 'h', '1487', '1903', 'd', 'g', '3483', '441', 'd', 'q', '727', 'd', '7133', 'p', 'i', 'x', '5903', '9385', 'x', '2569', 'F', 'S', 'F', 1049, 2821, 'T', 1027, 'B', 'a', 2031, 4347, 4305], ['f', 7813, 'y', 'R', 'v', 7281, 'A', 851, 'B', 'E', 'j', 'l', '1487', '1903', 'd', 'g', '3483', '441', 'd', 'q', '727', 'd', '7133', 'p', 'i', 'x', '5903', '9385', 'x', '2569', 'F', 'P', 503, 'D', 367, 9527, 'P', 'V']