#include <stdio.h>
#include <stdbool.h>

//This program is going to count by fives to the number the user specifies.

int main(void){

	int number;
	
	printf("What is the number you want me to count up to? ");
	
	scanf("%d",&number);


	if (number % 5 != 0){

		printf("Sorry, can only take in numbers divisible by five.");

	}

	else{
		
		int divideByFive = number / 5;


		int count = 0;

		for (count = 0; count < divideByFive; count++){

			printf("%d\t",count * 5);

		}

		printf("\n");
	}

	

	return 0;
}
