Update CodeTeam10.java

make marks and weights have to be greater than 0