Problem Description

Given duration t and timeout ms. Simulate a promise that resolves after t ms. If it does not finish within timeout, print TIMEOUT else DONE.

Input Format

One line: t timeout.

Output Format

TIMEOUT or DONE.

Sample Test Case

Input:
50 20
Output:
TIMEOUT

Constraints

0

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next