Updates the code to print only first element of the output