In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2087, 'V', 'e', 'q', 'Z', 'i', 7583, 's', 'l', 'I', 'd', 'r', '9409', '1035', '4757', 'G', '385', '3111', 'c', 'x', '4557', 'F', '1727', 'e', '9237', 'S', 'u', 'v', 'E', 4671, 'A', 'm', 't'], ['m', 'm', 's', 'l', 'I', 'd', 'r', '9409', '1035', '4757', 'G', '385', '3111', 'c', 'x', '4557', 'F', '1727', 'e', '9237', 'j', 'm', 'x', 'O', 'm', 9167, 4483, 1255, 7765, 'J', 'l', 'g', 'T', 'e', 'p', 'x', 'U']