We are writing an application that should be able to read command-line arguments and calculate the factorial of a number.
Your task is to implement the getArgs() method, which takes the args array as a parameter and returns the resulting integer from the arguments.
This task uses dependencies that may not be available in your local IDE. As a result, you may see compilation errors or unresolved references when running the code locally. This does not affect solution validation when you submit your solution to Hyperskill.