Instead of fine or jail, should be suspend at school for 2 days.
Perhaps, on first day of school, they need to demo what is properly to dress while attend to school. Maybe? And add brief sex education "Oh, you're pregnant and don't want to have kid and decide to dump in the bin? Please left it...