Output the longest substring that is the same in both strings.
String 1: Mary had a little lamb
String 2: Marry had a liddle love
had a li
Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
Output the longest substring that is the same in both strings.

### Response:
had a li