input:

Log:

Console:

output: