import java.util.Scanner; public class PaintHousesProgram { public static void main(String[] args) { int n; // Get the user input System.out.println("How many students are on the team ? "); n = new Scanner(System.in).nextInt(); // Compute the answer int goalAmount = (n * 1000) + (4 * 152); int houses = goalAmount / 256; // Display the answer System.out.println(houses + " houses must be painted."); } }