Input: 8642oo1ooo31ooo2oo1o1o654321o87654321o987654321p