Edited console.log to show correct print format