Wacky: Created ternary

Created ternary to decide what to print to the console