There are N students in a class and Teacher want to divide these students into some groups . Teacher told that groups consisting of two or less students not allowed , so Teacher want to have as many groups consisting of three or more students as possible.
Divide the students so that the number of groups consisting of three or more students is maximized.
Single integer N
Maximum number of groups can be formed