You can talk with other characters in the room and they will give you hint.
As Oswald said, so there are 2 rows right and 6 columns each. That's the big clue there on what numbers you should input ^^