The Flatness Theorem for Some Class of Polytopes and Searching an Integer Point