Adapted by Neilor Tonin, URI Brazil
Write a program that reads two integer numbers X and Y. Print all numbers between X and Y which dividing it by 5 the rest is equal to 2 or equal to 3.
The input file contains 2 any positive integers, not necessarily in ascending order.
Print all numbers according to above description, always in ascending order.
Input Sample | Output Sample |
10 |
12 |