public class Main {
	public static void main (String[] args) {
		double[] consts = {5.0D, 6.0D, 6.8D};
		System.out.println("$5.00\t$6.00\t$6.80");
		for (int x = 1; x < 100; x++) {
			for (int y = 1; y < 100; y++) {
				for (int z = 1; z < 100; z++) {
					if (gcf(x, y, z) == 1 && (consts[0]*x + consts[1]*y + consts[2]*z)/(x + y + z) == 6.5) {
						System.out.println(x + "\t" + y + "\t" + z);
					}
				}
			}
		}
	}

	public static int gcf(int a, int b) {
		if (b == 0) {
			return a;
		} else {
			return gcf(b, a%b);
		}
	}

	public static int gcf(int a, int b, int c) {
		return gcf(gcf(a, b), c);
	}
}