print wins function