test for outputting the input number if not 3, 5 or 15