import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner koko = new Scanner(System.in); String a = koko.next(); char[] ah = a.toCharArray(); double n=0; double e=0; double w=0; double s=0; for(int i=0; i