In a Java code there are several number of classes & each classes have several methods in it. If the number of classes is decreased by 2 then each class would have 1 method more to keep the total number of methods the same. How many classes are there in that code?