Perfect 6 Solution