Safari Holiday 

A safari holiday is organized for n people according to the following rules:


For example, for 4 safari participants and for kmax=3 there are 2 groups of 2 persons each every day and the safari schedule can be as follows:

                                    group 1  group 2
                            day 1:   1,2      3,4
                            day 2:   1,3      2,4
                            day 3:   1,4      2,3

Write a program that, for a given pair n, kmax (the number of safari participants and the maximum size of the groups), computes the largest possible size of the safari groups (the largest possible value of k such that $k \le kmax$) and the corresponding number of days of the safari holiday.

Input and Output 

The program reads sets of data from a text file. Each data set is on a separate line and has the format: $n \ kmax$, where n and kmax are strictly positive integers, that can have large values. For each data set the program prints to the standard output the corresponding size of the safari groups and the number of days of the safari holiday, as illustrated in the sample below. If the problem has no solution the program prints the message `No solution'. Each result is on a separate line.

Sample Input 

4 1
4 2
4 3
4 4

Sample Output 

No solution
2 persons/group, 3 days
2 persons/group, 3 days
4 persons/group, 1 day



Miguel Revilla
2001-01-05