/******************************************************************************
Online Java Compiler.
Code, Compile, Run and Debug java program online.
Write your code in this editor and press "Run" button to execute it.
*******************************************************************************/
import java.util.Random;
public class Main
{
public static void main(String[] args) {
Random rnd = new Random();
for (int j=0; j<20; j++){
int s=0;
double win=0;
for (int i=0; i<300; i++){
if(rnd.nextBoolean()){
s += 25;
win++;
} else s -= 25;
}
System.out.println(s + " / " + (int)(win/300*100)+"%");
}
}
}