Thanks! Now I would like to modify it so that if I pass a big value for ```N```, which would cause the program to overflow, it throws an invalid_argument exception. I also want to handle the case where the user passes a negative value for ```N``` in the same way but with a different message.