/* package whatever; // don't place package name! */
importjava.util.*;
importjava.lang.*;
importjava.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
publicstaticvoid main (String[] args)throws java.lang.Exception
{
// public class groundspeak { static long east(long a, long b) { return (a < 1 || b < 1) ? 1 : east(a - 1, b) + north(b - 2, a - 1); } static long north(long a, long b) { return (a < 1 || b < 1) ? 1 : east(b, a - 1) + north(a, b - 1); } public static void main(String[] args) { char koordinaten[] = ("°. NE'012456" + Long.toString(east(47, 47))).toCharArray(); for (int k : new int[] {3,2,10,8,0,2,7,16,1,27,30,26,5,2,4,2,6,7,6,0,2,7,28,1,21,28,17,5}) System.out.print(koordinaten[k]); } }