Cake Eater, Java === public class CakeEater{ public static void main(String[]args){ int a=Integer.parseInt(args[1]),b=Integer.parseInt(args[2]),c=Integer.parseInt(args[3]); System.out.println((int)Math.min(a,((1.2+Math.random()*0.15)*a)/c)); } } It eats cake. That's about it.