Code Festival A If you cannot solve this by hir

import sys
for l in sys.stdin:x=map(int,l.split());print"Pass"if(x[1]>sum(x[1:])/x[0]/2)else"Fail"

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page