Coding Around The Clock Write a single line program two or more characters long that contains no line terminators and takes no input. For example, your program might be:

MyProgram


When your program is arranged into the shapes a clock's hands make at 12, 3, 6, and 9 o'clock, it needs to output the corresponding hour number. No other times need be supported.

Specifically:


When your program is arranged like clock hands at 12 o'clock ()

m
a
r
g
o
r
P
y
M


running it should output 12.
When your program is arranged like clock hands at 3 o'clock ()

m
a
r
g
o
r
P
y
MyProgram


running it should output 3.
When your program is arranged like clock hands at 6 o'clock ()

m
a
r
g
o
r
P
y
M
y
P
r
o
g
r
a
m


running it should output 6.
When your program is arranged like clock hands at 9 o'clock ()

........m
........a
........r
........g
........o
........r
........P
........y
margorPyM


running it should output 9.


Notes


The first character in your program is always placed at the center of the clock. (Note how there is only one M in the 6 o'clock example.)
Any one non-newline character may be used to indent the program for the 9 o'clock arrangement. In the examples . is used, but space or / or # would be just as valid.
For the 3 o'clock arrangement, no characters should be in the empty upper right region. (i.e. keep it empty, don't fill it with spaces.)
The initial program arrangement (MyProgram as is) does not need to do anything. Only the 12, 3, 6, and 9 o'clock arrangements need to have correct, well-defined output.
Code that only works as a function or REPL command is not allowed. Each of the four arrangements should be ready to run as full programs as is.


The shortest program in bytes wins. e.g. MyProgram has a length of 9 bytes.
GolfScript, 11 10 bytes

21;;3#9];6


Uses # as padding character.

12 o'clock

6
;
]
9
#
3
;
;
1
2


Try it online!

How it works.


6 is pushed on the stack, ; discards it.
] wraps the stack in an array (does not affect output).
9 and 3 are pushed on the stack, ; and ; discard them.
Finally, 1 and 2 are pushed on the stack, and implicitly printed without separation.


3 o'clock

6
;
]
9
#
3
;
;
1
21;;3#9];6


Try it online!

How it works


6 is pushed on the stack, ; discards it.
] wraps the stack in an array (does not affect output).
9 and 3 are pushed on the stack, ; and ; discard them.
1 and 21 are pushed on the stack, ;; discards them.
3 is pushed on the stack.
# begins a comment until the end of the line.


6 o'clock

6
;
]
9
#
3
;
;
1
2
1
;
;
3
#
9
]
;
6


Try it online!

How it works


6 is pushed on the stack, ; discards it.
] wraps the stack in an array (does not affect output).
9 and 3 are pushed on the stack, ; and ; discard them.
1, 2 and 1 are pushed on the stack.
; and ; discard the last 1 and 2.
3 and 9 are pushed on the stack.
] and ; wrap the stack in an array and discard it, clearing the stack.
6 is pushed on the stack.


9 o'clock

#########6
#########;
#########]
#########9
##########
#########3
#########;
#########;
#########1
6;]9#3;;12


Try it online!

How it works


All lines but the last are comments.
6 is pushed on the stack, ; discards it.
] wraps the stack in an array (does not affect output).
9 is pushed on the stack.
# begins a comment until the end of the line.