No submissions yet

Submit your solution to display here.

Please login/signup to submit your solution.
Loading...

Input

3 250 100 50

Expected Output

Sample: 150 Sample: 0 Sample: 0