Problem Description

One integer status code is given. If status is 400 or more, throw HttpError with message BAD_REQUEST for 400-499 and SERVER_ERROR for 500+. Catch and print: status message. If

Input Format

One integer status.

Output Format

One line output.

Sample Test Case

Input:
404
Output:
404 BAD_REQUEST

Constraints

100

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next