Problem Description

Input has attempts and failCount. A task fails first failCount times then succeeds. Retry using async/await. Print SUCCESS if it succeeds within attempts else FAIL.

Input Format

One line: attempts failCount.

Output Format

SUCCESS or FAIL.

Sample Test Case

Input:
4 10
Output:
FAIL

Constraints

1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next