How do I retrieve only the return value from a method if there is also a System.out.print in that method. In the following code I will get the return value but every time I call the method it also executes the System.out.print 

```
public static void main(String[] args) {
    String name = pickAName("bob", "ed", "dan");
    System.out.printf(name);
}

public String pickAName (String...names){            
    System.out.printf("Randomly picking from %d names. %n",names.length);
    Random random = new Random();

    return names[random.nextInt(names.length)];
}

```