For input(12134),in some cases it is giving output:"Yes" and in some cases it is giving "No".
package nagarroBootcamp; import java.util.Scann