Dp 2970 Checking number of arguments

Checking number of arguments