title: Two lines of code mashing together but I need them separately
body: <pre><code>import java.util.Scanner;
  
  import static java.lang.System.out;
  
  public class main {
      public static void main(String[] args) {
          Scanner input = new Scanner(System.in);
          int Safeties;
          out.print(&quot;Safeties:&quot;);
          Safeties = input.nextInt();
          out.print(&quot;Home Team:&quot;);
          String HomeTeam = input.nextLine();
          out.print(&quot;Touchdowns:&quot;);
          double Touchdown2 = input.nextDouble();
          }
  }
  </code></pre>
  <p>The output is:<br />
  Safties:<br />
  Home Team:Touchdowns:</p>
  <p>But it's supposed to be<br />
  Safties:<br />
  Home Team:<br />
  Touchdowns:</p>
  <p>I'm assuming it's because I have an int above a string but I don't know how to fix this problem. I need them in that order. I'm completely lost. Can anyone help?</p>