17

Minkolang 0.10, Befunge-93, ><>; 3 2D languages, 321 bytes
v[1]: https://i.sstatic.net/mecHl.png
v[![][1]][1]
>\$$>~:1+!#v_:"^"-#v_1>:34*`#v_v
// ^ ,<0 < >:0g,1+v
v# ,,:*52< ^+1 ,g1:<@_^#`*85:<1
>!v#(od"^"=,34*&34*[i1+1qO]!O$I)lO58*[i1+0qO].
>i:0(?v:"^"-?v1>