aryQuestion = gets.split.map(&:to_i);
 
a = aryQuestion[0];
b = aryQuestion[1];
c = aryQuestion[2];
 
count = 0;
 
for num in a..b do
	puts (c % num).to_s;
	if (c % num) == 0 then
		count.next;
	end
 
end
 
puts count.to_s;