Create a program that counts how many times the minute hand overlaps the hour hand on a 12 hour clock.

Use any language you would like

Extra credit:
Add a function to your program to count the same but with a 24 hour clock

Good luck.
Cool to see some threads in this section. I'll try my best, but I won't be done with it anytime soon. Largely busy most of the day but I'll hopefully have a submission by the end of the week :p

I'm not really a programmer, but hecc who doesnt like a challenge.