2805: Custom Interval

Problem Statement