Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

%25253Cp%25253EI%252520have%252520the%252520following%252520program%252520that%2

ID: 3552320 • Letter: #

Question

%25253Cp%25253EI%252520have%252520the%252520following%252520program%252520that%252520I%252520need%252520help%252520fixing%252520its%252520errors.%25250AI'm%252520creating%252520a%252520Rubiks%252520cube%252520and%252520I'm%252520instantiation%252520the%252520Cube%252520pieces%25250Aand%252520whether%252520its%252520a%252520oneSide%25252C%252520twoSide%252520or%252520threeSide%252520(corner)%252520positions.%25250AIn%252520all%252520my%252520position%252520instantiations%252520there%252520are%252520errors%25252C%252520but%252520this%252520is%252520how%25250Amy%252520professor%252520taught%252520us%252520to%252520code%252520it.%252520I%252520just%252520need%252520help%252520fixing%252520the%25250APosition%252520parts%25252C%252520but%252520the%252520rest%252520of%252520the%252520code%252520is%252520alright.%252520Just%252520comment%25250Afor%252520more%252520clarification.%252520This%252520is%252520only%252520part%2525201%252520of%252520what%252520I%252520need%252520help%25250Aon.%25253Cbr%252520%25252F%25253E%25253C%25252Fp%25253E%25250A%25253Cp%25253E%25253Cbr%252520%25252F%25253E%25253C%25252Fp%25253E%25250A%25253Cp%25253E%25253Cbr%252520%25252F%25253E%25250Apublic%252520enum%252520CubeColor%25257BRed%25252CYellow%25252C%252520Green%25252C%252520White%25252C%252520Blue%25252C%25250AOrange%25252CBlack%25257D%25253Cbr%252520%25252F%25253E%25250Apublic%252520class%252520Rubiks%252520%25257B%25253Cbr%252520%25252F%25253E%25250A%252520%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520CubePos%25255B%25255DPos%252520%25253D%252520new%252520CubePos%25255B3%25252C3%25252C3%25255D%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520public%252520Rubiks()%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257BMakeSolveCube()%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257D%25253Cbr%252520%25252F%25253E%25250A%25253Cbr%252520%25252F%25253E%25250A%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520public%252520void%252520MakeSolveCube()%25250A%25257B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25252F%25252F%252520TODO%25250AAuto-generated%252520method%252520stub%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B1%25252C2%25252C1%25255D%252520%25253D%252520new%252520CubePos(new%252520oneSide(%252522R%252522%25252C%25250ACubeColor.Red)%25252C%252520CubeColor.Red)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B1%25252C1%25252C2%25255D%252520%25253D%252520new%252520CubePos(new%252520oneSide%252520(%252520%252522B%252522%25252C%25250ACubeColor.Blue)%25252C%252520CubeColor.Blue)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B2%25252C1%25252C1%25255D%252520%25253D%252520new%252520CubePos(new%252520oneSide%252520(%252520%252522B%252522%25252C%25250ACubeColor.Yellow)%25252C%252520CubeColor.Yellow)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B1%25252C0%25252C1%25255D%252520%25253D%252520new%252520CubePos(new%252520oneSide%252520(%252520%252522O%252522%25252C%25250ACubeColor.Orange)%25252C%252520CubeColor.Orange)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B0%25252C1%25252C1%25255D%252520%25253D%252520new%252520CubePos(new%252520oneSide%252520(%252520%252522W%252522%25252C%25250ACubeColor.White)%25252C%252520CubeColor.White)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B1%25252C1%25252C0%25255D%252520%25253D%252520new%252520CubePos(new%252520oneSide%252520(%252520%252522G%252522%25252C%25250ACubeColor.Green)%25252C%252520CubeColor.Green)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B0%25252C1%25252C2%25255D%252520%25253D%252520new%252520CubePos(new%252520twoSide%252520(%252520%252522BW%252522%25252C%25250ACubeColor.Blue%25252C%252520CubeColor.White)%252520%25252CCubeColor.Blue)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B1%25252C0%25252C2%25255D%252520%25253D%252520new%252520CubePos(new%252520twoSide%252520(%252522BO%252522%25252C%25250ACubeColor.Blue%25252C%252520CubeColor.Orange)%25252C%252520CubeColor.Blue)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B2%25252C1%25252C2%25255D%252520%25253D%252520new%252520CubePos(new%252520twoSide%252520(%252520%252522BY%252522%25252C%25250ACubeColor.Blue%25252C%252520CubeColor.Yellow)%252520%25252CCubeColor.Blue)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B1%25252C2%25252C2%25255D%252520%25253D%252520new%252520CubePos(new%252520twoSide%252520(%252520%252522BR%252522%25252C%25250ACubeColor.Blue%25252C%252520CubeColor.Red)%25252C%252520CubeColor.Blue)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B1%25252C0%25252C0%25255D%252520%25253D%252520new%252520CubePos(new%252520twoSide%252520(%252520%252522OG%252522%25252C%25250ACubeColor.Orange%25252C%252520CubeColor.Green)%25252C%252520CubeColor.Orange)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B2%25252C2%25252C1%25255D%252520%25253D%252520new%252520CubePos(new%252520twoSide%252520(%252520%252522YR%252522%25252C%25250ACubeColor.Yellow%25252C%252520CubeColor.Red)%25252C%252520CubeColor.Yellow)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B2%25252C0%25252C1%25255D%252520%25253D%252520new%252520CubePos(new%252520twoSide%252520(%252520%252522OY%252522%25252C%25250ACubeColor.Orange%25252C%252520CubeColor.Yellow)%25252C%252520CubeColor.Orange)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B2%25252C1%25252C0%25255D%252520%25253D%252520new%252520CubePos(new%252520twoSide%252520(%252520%252522YG%252522%25252C%25250ACubeColor.Yellow%25252C%252520CubeColor.Green)%25252C%252520CubeColor.Yellow)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B0%25252C2%25252C1%25255D%252520%25253D%252520new%252520CubePos(new%252520twoSide%252520(%252520%252522WR%252522%25252C%25250ACubeColor.White%25252C%252520CubeColor.Red)%25252C%252520CubeColor.White)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B0%25252C0%25252C1%25255D%252520%25253D%252520new%252520CubePos(new%252520twoSide%252520(%252520%252522WO%252522%25252C%25250ACubeColor.White%25252C%252520CubeColor.Orange)%25252C%252520CubeColor.White)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B1%25252C2%25252C0%25255D%252520%25253D%252520new%252520CubePos(new%252520twoSide%252520(%25250A%252522RG%252522%25252CCubeColor.Red%25252C%252520CubeColor.Green)%25252C%252520CubeColor.Red)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B0%25252C1%25252C0%25255D%252520%25253D%252520new%252520CubePos(new%252520twoSide%252520(%25250A%252522WG%252522%25252C%252526nbsp%25253B%252520CubeColor.White%25252C%252520CubeColor.Green)%25252C%25250ACubeColor.White)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B0%25252C0%25252C0%25255D%252520%25253D%252520new%252520CubePos(new%252520threeSide%252520(%25250A%252522WGO%252522%25252CCubeColor.White%25252C%252520CubeColor.reen%25252C%252520CubeColor.Orange)%25252C%25250ACubeColor.White)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B2%25252C0%25252C0%25255D%252520%25253D%252520new%252520CubePos(new%252520threeSide%252520(%252520%252522OGY%252522%25252C%25250ACubeColor.Orange%25252C%252520CubeColor.Green%25252C%252520CubeColor.Yellow)%25252C%25250ACubeColor.Orange)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B2%25252C2%25252C0%25255D%252520%25253D%252520new%252520CubePos(new%252520threeSide%252520(%25250A%252522YGR%252522%25252CCubeColor.Orange%25252C%252520CubeColor.Green%25252C%252520CubeColor.Yellow)%25250A%25252CCubeColor.Orange)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B0%25252C2%25252C0%25255D%252520%25253D%252520new%252520CubePos(new%252520threeSide%252520(%25250A%252522RWG%252522%25252C%252526nbsp%25253B%252520CubeColor.Red%25252C%252520CubeColor.White%25252C%252520CubeColor.Green)%25252C%25250ACubeColor.White)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B2%25252C0%25252C2%25255D%252520%25253D%252520new%252520CubePos(new%252520threeSide%252520(%252520%252522BOY%252522%25252C%25250ACubeColor.Blue%25252C%252520CubeColor.Orange%25252C%252520CubeColor.Yellow)%25252C%25250ACubeColor.Blue)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B0%25252C0%25252C2%25255D%252520%25253D%252520new%252520CubePos(new%252520threeSide%252520(%252520%252522BWO%252522%25252C%25250ACubeColor.Blue%25252C%252520CubeColor.White%25252C%252520CubeColor.Orange)%25252C%25250ACubeColor.Blue)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B0%25252C2%25252C2%25255D%252520%25253D%252520new%252520CubePos(new%252520threeSide%252520(%252520%252522BRW%252522%25252C%25250ACubeColor.Blue%25252C%252520CubeColor.Red%25252C%252520CubeColor.White)%25252C%25250ACubeColor.Blue)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520Pos%25255B2%25252C2%25252C2%25255D%252520%25253D%252520new%252520CubePos(new%252520threeSide%252520(%252520%252522BYR%252522%25252C%25250ACubeColor.Blue%25252C%25250ACubeColor.Yellow%25252CCubeColor.Red)%25252CCube.Color.Blue)%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%25253Cbr%252520%25252F%25253E%25250A%25257D%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520public%252520String%25250APrettyDisplay()%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520String%252520result%252520%25253D%252522%252520Top%252522%252520%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520for%252520(int%252520y%252520%25253D2%25253By%252526gt%25253B%25253D0%25253B%25250Ay--)%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520for%252520(int%252520x%25250A%25253D%2525200%25253B%252520x%252526lt%25253B3%25253B%252520x%25252B%25252B)%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520result%252520%25253D%25250APos%25255Bx%25252Cy%25252C2%25255D.GetFacingColor(CubeColor.Blue)%25252C%252520new%25250APosition(x%25252Cy%25252C2)).toString()%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257D%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520result%252520%25252B%25253D%25250ASystem.newLine()%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257D%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253Bresult%252520%25253D%252522%252520Bottom%252522%25250A%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520for%252520(int%252520y%25250A%25253D2%25253By%252526gt%25253B%25253D0%25253B%252520y--)%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520for%252520(int%252520x%252520%25253D%2525200%25253B%252520x%252526lt%25253B3%25253B%252520x%25252B%25252B)%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520result%252520%25253D%25250APos%25255Bx%25252Cy%25252C2%25255D.GetFacingColor(CubeColor.Green)%25252C%252520new%25250APosition(x%25252Cy%25252C0)).toString()%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257D%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520result%252520%25252B%25253D%252520System.newLine()%25253B%25257D%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253Bresult%252520%25253D%252522%252520Front%252522%252520%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520for%252520(int%252520y%252520%25253D2%25253By%252526gt%25253B%25253D0%25253B%25250Ay--)%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520for%252520(int%252520x%25250A%25253D%2525200%25253B%252520x%252526lt%25253B3%25253B%252520x%25252B%25252B)%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520result%252520%25253D%25250APos%25255Bx%25252C2%25252Cz%25255D.GetFacingColor(CubeColor.Red)%25252C%252520new%25250APosition(x%25252C2%25252Cz)).toString()%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257D%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520result%252520%25252B%25253D%25250ASystem.newLine()%25253B%25257D%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253Bresult%252520%25253D%252522%252520Back%252522%252520%25253B%25253Cbr%252520%25252F%25253E%25250Afor%252520(int%252520y%252520%25253D2%25253By%252526gt%25253B%25253D0%25253B%252520y--)%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520for%252520(int%252520x%252520%25253D%2525200%25253B%252520x%252526lt%25253B3%25253B%25250Ax%25252B%25252B)%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520result%252520%25253D%25250APos%25255Bx%25252C0%25252Cz%25255D.GetFacingColor(CubeColor.Orange)%25252C%252520new%25250APosition(x%25252C0%25252Cz)).toString()%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257D%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520result%252520%25252B%25253D%25250ASystem.newLine()%25253B%25257D%25253Cbr%252520%25252F%25253E%25250A%25253Cbr%252520%25252F%25253E%25250A%25253Cbr%252520%25252F%25253E%25250A%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253Bresult%252520%25253D%252522%252520Left%252522%252520%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520for%252520(int%252520y%25250A%25253D2%25253By%252526gt%25253B%25253D0%25253B%252520y--)%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520for%252520(int%252520x%252520%25253D%2525200%25253B%252520x%252526lt%25253B3%25253B%252520x%25252B%25252B)%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520result%252520%25253D%25250APos%25255B2%25252Cy%25252Cz%25255D.GetFacingColor(CubeColor.White)%25252C%252520new%25250APosition(2%25252Cy%25252Cz)).toString()%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257D%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520result%252520%25252B%25253D%252520System.newLine()%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257D%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253Bresult%252520%25253D%252522Right%252522%252520%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520for%252520(int%252520y%252520%25253D2%25253By%252526gt%25253B%25253D0%25253B%25250Ay--)%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520for%252520(int%252520x%25250A%25253D%2525200%25253B%252520x%252526lt%25253B3%25253B%252520x%25252B%25252B)%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520result%252520%25253D%25250APos%25255B0%25252Cy%25252Cz%25255D.GetFacingColor(CubeColor.Yellow)%25252C%252520new%25250APosition(0%25252Cy%25252Cz)).toString()%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257D%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520result%252520%25252B%25253D%25250ASystem.newLine()%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520public%252520String%252520toString()%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520String%252520result%252520%25253D%252520%252522Top%252522%252520%25252B%25250ASystem.newLine()%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520for%252520(int%252520y%252520%25253D%2525202%25253B%252520y%252520%252526gt%25253B%25253D%2525200%25253B%25250Ay--)%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520for%252520(int%252520x%25250A%25253D%2525200%25253B%252520x%252520%252526lt%25253B3%25253B%252520x%25252B%25252B%252520)%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520string%252520s%252520%25253D%252520Pos%25255Bx%25252Cy%25252C2%25255D.toString()%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520result%252520%25252B%25253D%252526nbsp%25253B%252520s.PadLeft(3%25252C%252520'_')%252520%25252B%252520%252522%252522%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257D%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520result%252520%25252B%25253D%25250ASystem.newLine()%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257D%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520result%252520%25253D%252520System.newLine()%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520result%252520%25253D%252520%252522Bottom%252522%252520%25252B%252520System.newLine()%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520for%252520(int%252520y%252520%25253D%2525202%25253B%252520y%252526gt%25253B%25253D0%25253B%252520y--%252520)%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520for%252520(int%252520x%252520%25253D%2525200%25253B%252520x%252520%252526lt%25253B3%25253B%252520x%25252B%25252B%25250A)%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520string%252520s%252520%25253D%25250APos%25255Bx%25252Cy%25252C0%25255D.toString()%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520result%25250A%25252B%25253D%252526nbsp%25253B%252520s.PadLeft(3%25252C%252520'_')%252520%25252B%252520%252522%252522%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257D%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520result%252520%25252B%25253D%25250ASystem.newLine()%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257D%25253Cbr%252520%25252F%25253E%25250A%25253Cbr%252520%25252F%25253E%25250Aresult%252520%25253D%252520System.newLine()%25253B%25253Cbr%252520%25252F%25253E%25250Aresult%252520%25253D%252520%252522Front%252522%252520%25252B%252520System.newLine()%25253B%25253Cbr%252520%25252F%25253E%25250Afor%252520(int%252520y%252520%25253D%2525202%25253B%252520y%252526gt%25253B%25253D0%25253B%252520y--%252520)%25253Cbr%252520%25252F%25253E%25250A%25257B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520for%252520(int%252520x%252520%25253D%2525200%25253B%252520x%252520%252526lt%25253B3%25253B%252520x%25252B%25252B%252520)%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520string%252520s%252520%25253D%25250APos%25255Bx%25252C2%25252Cz%25255D.toString()%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520result%252520%25252B%25253D%252526nbsp%25253B%252520s.PadLeft(3%25252C%25250A'_')%252520%25252B%252520%252522%252522%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257D%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520result%252520%25252B%25253D%252520System.newLine()%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%25253Cbr%252520%25252F%25253E%25250A%25257D%25253Cbr%252520%25252F%25253E%25250A%25253Cbr%252520%25252F%25253E%25250Aresult%252520%25253D%252520System.newLine()%25253B%25253Cbr%252520%25252F%25253E%25250Aresult%252520%25253D%252520%252522Back%252522%252520%25252B%252520System.newLine()%25253B%25253Cbr%252520%25252F%25253E%25250Afor%252520(int%252520y%252520%25253D%2525202%25253B%252520y%252526gt%25253B%25253D0%25253B%252520y--%252520)%25253Cbr%252520%25252F%25253E%25250A%25257B%25253Cbr%252520%25252F%25253E%25250Afor%252520(int%252520x%252520%25253D%2525200%25253B%252520x%252520%252526lt%25253B3%25253B%252520x%25252B%25252B%252520)%25253Cbr%252520%25252F%25253E%25250A%25257B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520string%252520s%252520%25253D%252520Pos%25255Bx%25252C0%25252Cz%25255D.toString()%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520result%252520%25252B%25253D%252526nbsp%25253B%252520s.PadLeft(3%25252C%252520'_')%252520%25252B%252520%252522%252522%25253B%25253Cbr%252520%25252F%25253E%25250A%25257D%25253Cbr%252520%25252F%25253E%25250Aresult%252520%25252B%25253D%252520System.newLine()%25253B%25253Cbr%252520%25252F%25253E%25250A%25253Cbr%252520%25252F%25253E%25250A%25257D%25253Cbr%252520%25252F%25253E%25250A%25253Cbr%252520%25252F%25253E%25250Aresult%252520%25253D%252520System.newLine()%25253B%25253Cbr%252520%25252F%25253E%25250Aresult%252520%25253D%252520%252522Left%252522%252520%25252B%252520System.newLine()%25253B%25253Cbr%252520%25252F%25253E%25250Afor%252520(int%252520y%252520%25253D%2525202%25253B%252520y%252526gt%25253B%25253D0%25253B%252520y--%252520)%25253Cbr%252520%25252F%25253E%25250A%25257B%25253Cbr%252520%25252F%25253E%25250Afor%252520(int%252520x%252520%25253D%2525200%25253B%252520x%252520%252526lt%25253B3%25253B%252520x%25252B%25252B%252520)%25253Cbr%252520%25252F%25253E%25250A%25257B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520string%252520s%252520%25253D%252520Pos%25255B2%25252Cy%25252Cz%25255D.toString()%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520result%252520%25252B%25253D%252526nbsp%25253B%252520s.PadLeft(3%25252C%252520'_')%252520%25252B%252520%252522%252522%25253B%25253Cbr%252520%25252F%25253E%25250A%25257D%25253Cbr%252520%25252F%25253E%25250Aresult%252520%25252B%25253D%252520System.newLine()%25253B%25253Cbr%252520%25252F%25253E%25250A%25253Cbr%252520%25252F%25253E%25250A%25257D%25253Cbr%252520%25252F%25253E%25250A%25253Cbr%252520%25252F%25253E%25250Aresult%252520%25253D%252520System.newLine()%25253B%25253Cbr%252520%25252F%25253E%25250Aresult%252520%25253D%252520%252522Right%252522%252520%25252B%252520System.newLine()%25253B%25253Cbr%252520%25252F%25253E%25250Afor%252520(int%252520y%252520%25253D%2525202%25253B%252520y%252526gt%25253B%25253D0%25253B%252520y--%252520)%25253Cbr%252520%25252F%25253E%25250A%25257B%25253Cbr%252520%25252F%25253E%25250Afor%252520(int%252520x%252520%25253D%2525200%25253B%252520x%252520%252526lt%25253B3%25253B%252520x%25252B%25252B%252520)%25253Cbr%252520%25252F%25253E%25250A%25257B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520string%252520s%252520%25253D%252520Pos%25255B0%25252Cy%25252Cz%25255D.toString()%25253B%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520result%252520%25252B%25253D%252526nbsp%25253B%252520s.PadLeft(3%25252C%252520'_')%252520%25252B%252520%252522%252522%25253B%25253Cbr%252520%25252F%25253E%25250A%25257D%25253Cbr%252520%25252F%25253E%25250Aresult%252520%25252B%25253D%252520System.newLine()%25253B%25253Cbr%252520%25252F%25253E%25250A%25253Cbr%252520%25252F%25253E%25250A%25257D%25253Cbr%252520%25252F%25253E%25250A%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257D%25253Cbr%252520%25252F%25253E%25250A%252526nbsp%25253B%252526nbsp%25253B%252526nbsp%25253B%252520%25257D%25253Cbr%252520%25252F%25253E%25250A%25253Cbr%252520%25252F%25253E%25253C%25252Fp%25253E%25250A

Explanation / Answer

i have made the changes to few lines.carry out the change in the entire pos declaration.



public enum CubeColor{Red,Yellow, Green, White, Blue, Orange,Black}
public class Rubiks {
  
    CubePos[][][]Pos = new CubePos[3][3][3]; //changes
  
    public Rubiks()
    {MakeSolveCube();
    }


  
          
        public void MakeSolveCube() {
            // TODO Auto-generated method stub
          
    Pos[1][2][1] = new CubePos(new oneSide("R", CubeColor.Red), CubeColor.Red); //changed
  
  
    Pos[1][1][2] = new CubePos(new oneSide ( "B", CubeColor.Blue), CubeColor.Blue); //changed
  

  
    Pos[2][1][1] = new CubePos(new oneSide ( "B", CubeColor.Yellow), CubeColor.Yellow);
  
  
  
    Pos[1][0][1] = new CubePos(new oneSide ( "O", CubeColor.Orange), CubeColor.Orange);
  
  
  
    Pos[0][1][1] = new CubePos(new oneSide ( "W", CubeColor.White), CubeColor.White);
  
  
  
    Pos[1,1,0] = new CubePos(new oneSide ( "G", CubeColor.Green), CubeColor.Green);
  
  
    Pos[0,1,2] = new CubePos(new twoSide ( "BW", CubeColor.Blue, CubeColor.White) ,CubeColor.Blue);
  
    Pos[1,0,2] = new CubePos(new twoSide ("BO", CubeColor.Blue, CubeColor.Orange), CubeColor.Blue);
  
  
  
    Pos[2,1,2] = new CubePos(new twoSide ( "BY", CubeColor.Blue, CubeColor.Yellow) ,CubeColor.Blue);
  
  
    Pos[1,2,2] = new CubePos(new twoSide ( "BR", CubeColor.Blue, CubeColor.Red), CubeColor.Blue);
  
  
    Pos[1,0,0] = new CubePos(new twoSide ( "OG", CubeColor.Orange, CubeColor.Green), CubeColor.Orange);
  
  
    Pos[2,2,1] = new CubePos(new twoSide ( "YR", CubeColor.Yellow, CubeColor.Red), CubeColor.Yellow);
  
  
    Pos[2,0,1] = new CubePos(new twoSide ( "OY", CubeColor.Orange, CubeColor.Yellow), CubeColor.Orange);
  
  
    Pos[2,1,0] = new CubePos(new twoSide ( "YG", CubeColor.Yellow, CubeColor.Green), CubeColor.Yellow);
  
  
    Pos[0,2,1] = new CubePos(new twoSide ( "WR", CubeColor.White, CubeColor.Red), CubeColor.White);
  
  
    Pos[0,0,1] = new CubePos(new twoSide ( "WO", CubeColor.White, CubeColor.Orange), CubeColor.White);
  
  
    Pos[1,2,0] = new CubePos(new twoSide ( "RG",CubeColor.Red, CubeColor.Green), CubeColor.Red);
  
    Pos[0,1,0] = new CubePos(new twoSide ( "WG", CubeColor.White, CubeColor.Green), CubeColor.White);
  
  
  
    Pos[0,0,0] = new CubePos(new threeSide ( "WGO",CubeColor.White, CubeColor.reen, CubeColor.Orange), CubeColor.White);
  
  
    Pos[2,0,0] = new CubePos(new threeSide ( "OGY", CubeColor.Orange, CubeColor.Green, CubeColor.Yellow), CubeColor.Orange);
  
  
  
    Pos[2,2,0] = new CubePos(new threeSide ( "YGR",CubeColor.Orange, CubeColor.Green, CubeColor.Yellow) ,CubeColor.Orange);
  
    Pos[0,2,0] = new CubePos(new threeSide ( "RWG", CubeColor.Red, CubeColor.White, CubeColor.Green), CubeColor.White);
  
    Pos[2,0,2] = new CubePos(new threeSide ( "BOY", CubeColor.Blue, CubeColor.Orange, CubeColor.Yellow), CubeColor.Blue);
  
    Pos[0,0,2] = new CubePos(new threeSide ( "BWO", CubeColor.Blue, CubeColor.White, CubeColor.Orange), CubeColor.Blue);
  
    Pos[0,2,2] = new CubePos(new threeSide ( "BRW", CubeColor.Blue, CubeColor.Red, CubeColor.White), CubeColor.Blue);
  
    Pos[2,2,2] = new CubePos(new threeSide ( "BYR", CubeColor.Blue, CubeColor.Yellow,CubeColor.Red),Cube.Color.Blue);
  
  
  
  

}
      
        public String PrettyDisplay()
        {
          
        String result =" Top" ;
        for (int y =2;y>=0; y--)
        {
            for (int x = 0; x<3; x++)
            {
                result = Pos[x,y,2].GetFacingColor(CubeColor.Blue), new Position(x,y,2)).toString();
        }
            result += System.newLine();
          
        }
         result =" Bottom" ;
            for (int y =2;y>=0; y--)
            {
                for (int x = 0; x<3; x++)
                {
                    result = Pos[x,y,2].GetFacingColor(CubeColor.Green), new Position(x,y,0)).toString();
            }
                result += System.newLine();}
          
                 result =" Front" ;
                    for (int y =2;y>=0; y--)
                    {
                        for (int x = 0; x<3; x++)
                        {
                            result = Pos[x,2,z].GetFacingColor(CubeColor.Red), new Position(x,2,z)).toString();
                    }
                        result += System.newLine();}
                  
         result =" Back" ;
for (int y =2;y>=0; y--)
                            {
                                for (int x = 0; x<3; x++)
                                {
                                    result = Pos[x,0,z].GetFacingColor(CubeColor.Orange), new Position(x,0,z)).toString();
                            }
                                result += System.newLine();}



                                 result =" Left" ;
                                    for (int y =2;y>=0; y--)
                                    {
                                        for (int x = 0; x<3; x++)
                                        {
                                            result = Pos[2,y,z].GetFacingColor(CubeColor.White), new Position(2,y,z)).toString();
                                    }
                                        result += System.newLine();
                                    }
                                              
                                              
                                         result ="Right" ;
                                            for (int y =2;y>=0; y--)
                                            {
                                                for (int x = 0; x<3; x++)
                                                {
                                                    result = Pos[0,y,z].GetFacingColor(CubeColor.Yellow), new Position(0,y,z)).toString();
                                            }
                                                result += System.newLine();
    public String toString()
    {
        String result = "Top" + System.newLine();
        for (int y = 2; y >= 0; y--)
        {
            for (int x = 0; x <3; x++ )
            {
                string s = Pos[x,y,2].toString();
                result += s.PadLeft(3, '_') + "";
            }
          
            result += System.newLine();
              
        }
  
    result = System.newLine();
    result = "Bottom" + System.newLine();
    for (int y = 2; y>=0; y-- )
    {
        for (int x = 0; x <3; x++ )
        {
            string s = Pos[x,y,0].toString();
            result += s.PadLeft(3, '_') + "";
        }
        result += System.newLine();
      
    }

result = System.newLine();
result = "Front" + System.newLine();
for (int y = 2; y>=0; y-- )
{
    for (int x = 0; x <3; x++ )
    {
        string s = Pos[x,2,z].toString();
        result += s.PadLeft(3, '_') + "";
    }
    result += System.newLine();
  
}

result = System.newLine();
result = "Back" + System.newLine();
for (int y = 2; y>=0; y-- )
{
for (int x = 0; x <3; x++ )
{
    string s = Pos[x,0,z].toString();
    result += s.PadLeft(3, '_') + "";
}
result += System.newLine();

}

result = System.newLine();
result = "Left" + System.newLine();
for (int y = 2; y>=0; y-- )
{
for (int x = 0; x <3; x++ )
{
    string s = Pos[2,y,z].toString();
    result += s.PadLeft(3, '_') + "";
}
result += System.newLine();

}

result = System.newLine();
result = "Right" + System.newLine();
for (int y = 2; y>=0; y-- )
{
for (int x = 0; x <3; x++ )
{
    string s = Pos[0,y,z].toString();
    result += s.PadLeft(3, '_') + "";
}
result += System.newLine();

}

    }
    }