Hello,

Been trying to work with your solution for some time now. After some time I got up with this solution:
import java.util.Scanner;

public class Problem6_19 {
public static void...