// Importing required functions import java.util.*; import java.util.stream.*; public class NumberFactors{ // Available numbers are 1, 3 and 4 public static long countWays (int n) { // Replace this placeholder return statement with your code return -1; } }