Company: goldman sachs
Difficulty: medium
Closest Gapful Customer ID A customer ID is **gapful** if it has at least three digits and is divisible by the two-digit number formed by its first and last digits. Given `N`, print the closest gapful ID. If two IDs are equally close, print the smaller one. Input Format One integer `N` (`100 ≤ N ≤ 100000`). Output Format Print the required gapful ID. Example `121` is gapful because `121` is divisible by `11`.