Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
6631 lines (6626 sloc) 95.8 KB
#include <Servo.h> // Include servo library
Servo Epn1; // Define servos
Servo Fspn1;
Servo Bpn1;
Servo Cspn1;
Servo Dpn1;
Servo Epn2;
Servo Fspn2;
Servo Bpn2;
Servo Cspn2;
Servo Dpn2;
void setup() { //link servos to pins
Epn1.attach(4);
Fspn1.attach(5);
Bpn1.attach(6);
Cspn1.attach(7);
Dpn1.attach(8);
Epn2.attach(9);
Fspn2.attach(10);
Bpn2.attach(11);
Cspn2.attach(12);
Dpn2.attach(13);
}
void loop() {
Epn1.write(90);
Epn2.write(90);
delay(147);
Epn1.write(0);
Epn2.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Bpn1.write(90);
Bpn2.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Bpn1.write(0);
Bpn2.write(0);
Cspn1.write(90);
Cspn2.write(90);
delay(147);
Cspn1.write(0);
Cspn2.write(0);
Dpn1.write(90);
Dpn2.write(90);
delay(147);
Dpn1.write(0);
Dpn2.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Epn1.write(90);
Epn2.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(90);
Epn1.write(0);
Epn2.write(0);
delay(147);
Bpn1.write(90);
Bpn2.write(90);
Cspn1.write(0);
Cspn2.write(0);
delay(147);
Bpn1.write(0);
Bpn2.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Dpn1.write(90);
Dpn2.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(90);
Dpn1.write(0);
Dpn2.write(0);
delay(147);
Cspn1.write(0);
Cspn2.write(0);
Epn1.write(90);
Epn2.write(90);
delay(147);
Epn1.write(0);
Epn2.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Bpn1.write(90);
Bpn2.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Bpn1.write(0);
Bpn2.write(0);
Cspn1.write(90);
Cspn2.write(90);
delay(147);
Cspn1.write(0);
Cspn2.write(0);
Dpn1.write(90);
Dpn2.write(90);
delay(147);
Dpn1.write(0);
Dpn2.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Epn1.write(90);
Epn2.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(90);
Epn1.write(0);
Epn2.write(0);
delay(147);
Bpn1.write(90);
Bpn2.write(90);
Cspn1.write(0);
Cspn2.write(0);
delay(147);
Bpn1.write(0);
Bpn2.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Dpn1.write(90);
Dpn2.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(90);
Dpn1.write(0);
Dpn2.write(0);
delay(147);
Cspn1.write(0);
Cspn2.write(0);
Epn1.write(90);
Epn2.write(90);
delay(147);
Epn1.write(0);
Epn2.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Bpn1.write(90);
Bpn2.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Bpn1.write(0);
Bpn2.write(0);
Cspn1.write(90);
Cspn2.write(90);
delay(147);
Cspn1.write(0);
Cspn2.write(0);
Dpn1.write(90);
Dpn2.write(90);
delay(147);
Dpn1.write(0);
Dpn2.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Epn1.write(90);
Epn2.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(90);
Epn1.write(0);
Epn2.write(0);
delay(147);
Bpn1.write(90);
Bpn2.write(90);
Cspn1.write(0);
Cspn2.write(0);
delay(147);
Bpn1.write(0);
Bpn2.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Dpn1.write(90);
Dpn2.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(90);
Dpn1.write(0);
Dpn2.write(0);
delay(147);
Cspn1.write(0);
Cspn2.write(0);
Epn1.write(90);
Epn2.write(90);
delay(147);
Epn1.write(0);
Epn2.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Bpn1.write(90);
Bpn2.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Bpn1.write(0);
Bpn2.write(0);
Cspn1.write(90);
Cspn2.write(90);
delay(147);
Cspn1.write(0);
Cspn2.write(0);
Dpn1.write(90);
Dpn2.write(90);
delay(147);
Dpn1.write(0);
Dpn2.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Epn1.write(90);
Epn2.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(90);
Epn1.write(0);
Epn2.write(0);
delay(147);
Bpn1.write(90);
Bpn2.write(90);
Cspn1.write(0);
Cspn2.write(0);
delay(147);
Bpn1.write(0);
Bpn2.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Dpn1.write(90);
Dpn2.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(90);
Dpn1.write(0);
Dpn2.write(0);
delay(147);
Cspn1.write(0);
Cspn2.write(0);
Epn1.write(90);
Epn2.write(90);
delay(144);
Epn2.write(0);
Fspn2.write(90);
delay(3);
Epn1.write(0);
Fspn1.write(90);
delay(141);
Bpn2.write(90);
Fspn2.write(0);
delay(6);
Bpn1.write(90);
Fspn1.write(0);
delay(138);
Bpn2.write(0);
Cspn2.write(90);
delay(9);
Bpn1.write(0);
Cspn1.write(90);
delay(135);
Cspn2.write(0);
Dpn2.write(90);
delay(12);
Cspn1.write(0);
Dpn1.write(90);
delay(132);
Dpn2.write(0);
Fspn2.write(90);
delay(15);
Dpn1.write(0);
Fspn1.write(90);
delay(129);
Epn2.write(90);
Fspn2.write(0);
delay(18);
Epn1.write(90);
Fspn1.write(0);
delay(126);
Cspn2.write(90);
Epn2.write(0);
delay(21);
Cspn1.write(90);
Epn1.write(0);
delay(123);
Bpn2.write(90);
Cspn2.write(0);
delay(24);
Bpn1.write(90);
Cspn1.write(0);
delay(120);
Bpn2.write(0);
Fspn2.write(90);
delay(27);
Bpn1.write(0);
Fspn1.write(90);
delay(117);
Dpn2.write(90);
Fspn2.write(0);
delay(30);
Dpn1.write(90);
Fspn1.write(0);
delay(114);
Cspn2.write(90);
Dpn2.write(0);
delay(33);
Cspn1.write(90);
Dpn1.write(0);
delay(111);
Cspn2.write(0);
Epn2.write(90);
delay(36);
Cspn1.write(0);
Epn1.write(90);
delay(108);
Epn2.write(0);
Fspn2.write(90);
delay(39);
Epn1.write(0);
Fspn1.write(90);
delay(105);
Bpn2.write(90);
Fspn2.write(0);
delay(42);
Bpn1.write(90);
Fspn1.write(0);
delay(102);
Bpn2.write(0);
Cspn2.write(90);
delay(45);
Bpn1.write(0);
Cspn1.write(90);
delay(99);
Cspn2.write(0);
Dpn2.write(90);
delay(48);
Cspn1.write(0);
Dpn1.write(90);
delay(96);
Dpn2.write(0);
Fspn2.write(90);
delay(51);
Dpn1.write(0);
Fspn1.write(90);
delay(93);
Epn2.write(90);
Fspn2.write(0);
delay(54);
Epn1.write(90);
Fspn1.write(0);
delay(90);
Cspn2.write(90);
Epn2.write(0);
delay(57);
Cspn1.write(90);
Epn1.write(0);
delay(87);
Bpn2.write(90);
Cspn2.write(0);
delay(60);
Bpn1.write(90);
Cspn1.write(0);
delay(84);
Bpn2.write(0);
Fspn2.write(90);
delay(63);
Bpn1.write(0);
Fspn1.write(90);
delay(81);
Dpn2.write(90);
Fspn2.write(0);
delay(66);
Dpn1.write(90);
Fspn1.write(0);
delay(78);
Cspn2.write(90);
Dpn2.write(0);
delay(69);
Cspn1.write(90);
Dpn1.write(0);
delay(75);
Cspn2.write(0);
Epn2.write(90);
delay(72);
Cspn1.write(0);
Epn1.write(90);
delay(72);
Epn2.write(0);
Fspn2.write(90);
delay(75);
Epn1.write(0);
Fspn1.write(90);
delay(69);
Bpn2.write(90);
Fspn2.write(0);
delay(78);
Bpn1.write(90);
Fspn1.write(0);
delay(66);
Bpn2.write(0);
Cspn2.write(90);
delay(81);
Bpn1.write(0);
Cspn1.write(90);
delay(63);
Cspn2.write(0);
Dpn2.write(90);
delay(84);
Cspn1.write(0);
Dpn1.write(90);
delay(60);
Dpn2.write(0);
Fspn2.write(90);
delay(87);
Dpn1.write(0);
Fspn1.write(90);
delay(57);
Epn2.write(90);
Fspn2.write(0);
delay(90);
Epn1.write(90);
Fspn1.write(0);
delay(54);
Cspn2.write(90);
Epn2.write(0);
delay(93);
Cspn1.write(90);
Epn1.write(0);
delay(51);
Bpn2.write(90);
Cspn2.write(0);
delay(96);
Bpn1.write(90);
Cspn1.write(0);
delay(48);
Bpn2.write(0);
Fspn2.write(90);
delay(99);
Bpn1.write(0);
Fspn1.write(90);
delay(45);
Dpn2.write(90);
Fspn2.write(0);
delay(102);
Dpn1.write(90);
Fspn1.write(0);
delay(42);
Cspn2.write(90);
Dpn2.write(0);
delay(105);
Cspn1.write(90);
Dpn1.write(0);
delay(39);
Cspn2.write(0);
Epn2.write(90);
delay(108);
Cspn1.write(0);
Epn1.write(90);
delay(36);
Epn2.write(0);
Fspn2.write(90);
delay(111);
Epn1.write(0);
Fspn1.write(90);
delay(33);
Bpn2.write(90);
Fspn2.write(0);
delay(114);
Bpn1.write(90);
Fspn1.write(0);
delay(30);
Bpn2.write(0);
Cspn2.write(90);
delay(117);
Bpn1.write(0);
Cspn1.write(90);
delay(27);
Cspn2.write(0);
Dpn2.write(90);
delay(120);
Cspn1.write(0);
Dpn1.write(90);
delay(24);
Dpn2.write(0);
Fspn2.write(90);
delay(123);
Dpn1.write(0);
Fspn1.write(90);
delay(21);
Epn2.write(90);
Fspn2.write(0);
delay(126);
Epn1.write(90);
Fspn1.write(0);
delay(18);
Cspn2.write(90);
Epn2.write(0);
delay(129);
Cspn1.write(90);
Epn1.write(0);
delay(15);
Bpn2.write(90);
Cspn2.write(0);
delay(132);
Bpn1.write(90);
Cspn1.write(0);
delay(12);
Bpn2.write(0);
Fspn2.write(90);
delay(135);
Bpn1.write(0);
Fspn1.write(90);
delay(9);
Dpn2.write(90);
Fspn2.write(0);
delay(138);
Dpn1.write(90);
Fspn1.write(0);
delay(6);
Cspn2.write(90);
Dpn2.write(0);
delay(141);
Cspn1.write(90);
Dpn1.write(0);
delay(3);
Cspn2.write(0);
Epn2.write(90);
delay(144);
Cspn1.write(0);
Epn1.write(90);
Epn2.write(0);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Epn1.write(0);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Bpn1.write(90);
Bpn2.write(0);
Cspn2.write(90);
Fspn1.write(0);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Cspn2.write(0);
Dpn2.write(90);
delay(147);
Cspn1.write(0);
Dpn1.write(90);
Dpn2.write(0);
Fspn2.write(90);
delay(147);
Dpn1.write(0);
Epn2.write(90);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Epn1.write(90);
Epn2.write(0);
Fspn1.write(0);
delay(147);
Bpn2.write(90);
Cspn1.write(90);
Cspn2.write(0);
Epn1.write(0);
delay(147);
Bpn1.write(90);
Bpn2.write(0);
Cspn1.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(0);
Dpn2.write(90);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Dpn1.write(90);
Dpn2.write(0);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(0);
Dpn1.write(0);
Epn2.write(90);
delay(147);
Cspn1.write(0);
Epn1.write(90);
Epn2.write(0);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Epn1.write(0);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Bpn1.write(90);
Bpn2.write(0);
Cspn2.write(90);
Fspn1.write(0);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Cspn2.write(0);
Dpn2.write(90);
delay(147);
Cspn1.write(0);
Dpn1.write(90);
Dpn2.write(0);
Fspn2.write(90);
delay(147);
Dpn1.write(0);
Epn2.write(90);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Epn1.write(90);
Epn2.write(0);
Fspn1.write(0);
delay(147);
Bpn2.write(90);
Cspn1.write(90);
Cspn2.write(0);
Epn1.write(0);
delay(147);
Bpn1.write(90);
Bpn2.write(0);
Cspn1.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(0);
Dpn2.write(90);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Dpn1.write(90);
Dpn2.write(0);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(0);
Dpn1.write(0);
Epn2.write(90);
delay(147);
Cspn1.write(0);
Epn1.write(90);
Epn2.write(0);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Epn1.write(0);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Bpn1.write(90);
Bpn2.write(0);
Cspn2.write(90);
Fspn1.write(0);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Cspn2.write(0);
Dpn2.write(90);
delay(147);
Cspn1.write(0);
Dpn1.write(90);
Dpn2.write(0);
Fspn2.write(90);
delay(147);
Dpn1.write(0);
Epn2.write(90);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Epn1.write(90);
Epn2.write(0);
Fspn1.write(0);
delay(147);
Bpn2.write(90);
Cspn1.write(90);
Cspn2.write(0);
Epn1.write(0);
delay(147);
Bpn1.write(90);
Bpn2.write(0);
Cspn1.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(0);
Dpn2.write(90);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Dpn1.write(90);
Dpn2.write(0);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(0);
Dpn1.write(0);
Epn2.write(90);
delay(147);
Cspn1.write(0);
Epn1.write(90);
Epn2.write(0);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Epn1.write(0);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Bpn1.write(90);
Bpn2.write(0);
Cspn2.write(90);
Fspn1.write(0);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Cspn2.write(0);
Dpn2.write(90);
delay(147);
Cspn1.write(0);
Dpn1.write(90);
Dpn2.write(0);
Fspn2.write(90);
delay(147);
Dpn1.write(0);
Epn2.write(90);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Epn1.write(90);
Epn2.write(0);
Fspn1.write(0);
delay(147);
Bpn2.write(90);
Cspn1.write(90);
Cspn2.write(0);
Epn1.write(0);
delay(147);
Bpn1.write(90);
Bpn2.write(0);
Cspn1.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(0);
Dpn2.write(90);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Dpn1.write(90);
Dpn2.write(0);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(0);
Dpn1.write(0);
Epn2.write(90);
delay(147);
Cspn1.write(0);
Epn1.write(90);
Epn2.write(0);
Fspn2.write(90);
delay(144);
Bpn2.write(90);
Fspn2.write(0);
delay(3);
Epn1.write(0);
Fspn1.write(90);
delay(141);
Bpn2.write(0);
Cspn2.write(90);
delay(6);
Bpn1.write(90);
Fspn1.write(0);
delay(138);
Cspn2.write(0);
Dpn2.write(90);
delay(9);
Bpn1.write(0);
Cspn1.write(90);
delay(135);
Dpn2.write(0);
Fspn2.write(90);
delay(12);
Cspn1.write(0);
Dpn1.write(90);
delay(132);
Epn2.write(90);
Fspn2.write(0);
delay(15);
Dpn1.write(0);
Fspn1.write(90);
delay(129);
Cspn2.write(90);
Epn2.write(0);
delay(18);
Epn1.write(90);
Fspn1.write(0);
delay(126);
Bpn2.write(90);
Cspn2.write(0);
delay(21);
Cspn1.write(90);
Epn1.write(0);
delay(123);
Bpn2.write(0);
Fspn2.write(90);
delay(24);
Bpn1.write(90);
Cspn1.write(0);
delay(120);
Dpn2.write(90);
Fspn2.write(0);
delay(27);
Bpn1.write(0);
Fspn1.write(90);
delay(117);
Cspn2.write(90);
Dpn2.write(0);
delay(30);
Dpn1.write(90);
Fspn1.write(0);
delay(114);
Cspn2.write(0);
Epn2.write(90);
delay(33);
Cspn1.write(90);
Dpn1.write(0);
delay(111);
Epn2.write(0);
Fspn2.write(90);
delay(36);
Cspn1.write(0);
Epn1.write(90);
delay(108);
Bpn2.write(90);
Fspn2.write(0);
delay(39);
Epn1.write(0);
Fspn1.write(90);
delay(105);
Bpn2.write(0);
Cspn2.write(90);
delay(42);
Bpn1.write(90);
Fspn1.write(0);
delay(102);
Cspn2.write(0);
Dpn2.write(90);
delay(45);
Bpn1.write(0);
Cspn1.write(90);
delay(99);
Dpn2.write(0);
Fspn2.write(90);
delay(48);
Cspn1.write(0);
Dpn1.write(90);
delay(96);
Epn2.write(90);
Fspn2.write(0);
delay(51);
Dpn1.write(0);
Fspn1.write(90);
delay(93);
Cspn2.write(90);
Epn2.write(0);
delay(54);
Epn1.write(90);
Fspn1.write(0);
delay(90);
Bpn2.write(90);
Cspn2.write(0);
delay(57);
Cspn1.write(90);
Epn1.write(0);
delay(87);
Bpn2.write(0);
Fspn2.write(90);
delay(60);
Bpn1.write(90);
Cspn1.write(0);
delay(84);
Dpn2.write(90);
Fspn2.write(0);
delay(63);
Bpn1.write(0);
Fspn1.write(90);
delay(81);
Cspn2.write(90);
Dpn2.write(0);
delay(66);
Dpn1.write(90);
Fspn1.write(0);
delay(78);
Cspn2.write(0);
Epn2.write(90);
delay(69);
Cspn1.write(90);
Dpn1.write(0);
delay(75);
Epn2.write(0);
Fspn2.write(90);
delay(72);
Cspn1.write(0);
Epn1.write(90);
delay(72);
Bpn2.write(90);
Fspn2.write(0);
delay(75);
Epn1.write(0);
Fspn1.write(90);
delay(69);
Bpn2.write(0);
Cspn2.write(90);
delay(78);
Bpn1.write(90);
Fspn1.write(0);
delay(66);
Cspn2.write(0);
Dpn2.write(90);
delay(81);
Bpn1.write(0);
Cspn1.write(90);
delay(63);
Dpn2.write(0);
Fspn2.write(90);
delay(84);
Cspn1.write(0);
Dpn1.write(90);
delay(60);
Epn2.write(90);
Fspn2.write(0);
delay(87);
Dpn1.write(0);
Fspn1.write(90);
delay(57);
Cspn2.write(90);
Epn2.write(0);
delay(90);
Epn1.write(90);
Fspn1.write(0);
delay(54);
Bpn2.write(90);
Cspn2.write(0);
delay(93);
Cspn1.write(90);
Epn1.write(0);
delay(51);
Bpn2.write(0);
Fspn2.write(90);
delay(96);
Bpn1.write(90);
Cspn1.write(0);
delay(48);
Dpn2.write(90);
Fspn2.write(0);
delay(99);
Bpn1.write(0);
Fspn1.write(90);
delay(45);
Cspn2.write(90);
Dpn2.write(0);
delay(102);
Dpn1.write(90);
Fspn1.write(0);
delay(42);
Cspn2.write(0);
Epn2.write(90);
delay(105);
Cspn1.write(90);
Dpn1.write(0);
delay(39);
Epn2.write(0);
Fspn2.write(90);
delay(108);
Cspn1.write(0);
Epn1.write(90);
delay(36);
Bpn2.write(90);
Fspn2.write(0);
delay(111);
Epn1.write(0);
Fspn1.write(90);
delay(33);
Bpn2.write(0);
Cspn2.write(90);
delay(114);
Bpn1.write(90);
Fspn1.write(0);
delay(30);
Cspn2.write(0);
Dpn2.write(90);
delay(117);
Bpn1.write(0);
Cspn1.write(90);
delay(27);
Dpn2.write(0);
Fspn2.write(90);
delay(120);
Cspn1.write(0);
Dpn1.write(90);
delay(24);
Epn2.write(90);
Fspn2.write(0);
delay(123);
Dpn1.write(0);
Fspn1.write(90);
delay(21);
Cspn2.write(90);
Epn2.write(0);
delay(126);
Epn1.write(90);
Fspn1.write(0);
delay(18);
Bpn2.write(90);
Cspn2.write(0);
delay(129);
Cspn1.write(90);
Epn1.write(0);
delay(15);
Bpn2.write(0);
Fspn2.write(90);
delay(132);
Bpn1.write(90);
Cspn1.write(0);
delay(12);
Dpn2.write(90);
Fspn2.write(0);
delay(135);
Bpn1.write(0);
Fspn1.write(90);
delay(9);
Cspn2.write(90);
Dpn2.write(0);
delay(138);
Dpn1.write(90);
Fspn1.write(0);
delay(6);
Cspn2.write(0);
Epn2.write(90);
delay(141);
Cspn1.write(90);
Dpn1.write(0);
delay(3);
Epn2.write(0);
Fspn2.write(90);
delay(144);
Bpn2.write(90);
Cspn1.write(0);
Epn1.write(90);
Fspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn2.write(90);
Epn1.write(0);
Fspn1.write(90);
delay(147);
Bpn1.write(90);
Cspn2.write(0);
Dpn2.write(90);
Fspn1.write(0);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Dpn2.write(0);
Fspn2.write(90);
delay(147);
Cspn1.write(0);
Dpn1.write(90);
Epn2.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Dpn1.write(0);
Epn2.write(0);
Fspn1.write(90);
delay(147);
Bpn2.write(90);
Cspn2.write(0);
Epn1.write(90);
Fspn1.write(0);
delay(147);
Bpn2.write(0);
Cspn1.write(90);
Epn1.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(90);
Cspn1.write(0);
Dpn2.write(90);
Fspn2.write(0);
delay(147);
Bpn1.write(0);
Cspn2.write(90);
Dpn2.write(0);
Fspn1.write(90);
delay(147);
Cspn2.write(0);
Dpn1.write(90);
Epn2.write(90);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Dpn1.write(0);
Epn2.write(0);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Cspn1.write(0);
Epn1.write(90);
Fspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn2.write(90);
Epn1.write(0);
Fspn1.write(90);
delay(147);
Bpn1.write(90);
Cspn2.write(0);
Dpn2.write(90);
Fspn1.write(0);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Dpn2.write(0);
Fspn2.write(90);
delay(147);
Cspn1.write(0);
Dpn1.write(90);
Epn2.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Dpn1.write(0);
Epn2.write(0);
Fspn1.write(90);
delay(147);
Bpn2.write(90);
Cspn2.write(0);
Epn1.write(90);
Fspn1.write(0);
delay(147);
Bpn2.write(0);
Cspn1.write(90);
Epn1.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(90);
Cspn1.write(0);
Dpn2.write(90);
Fspn2.write(0);
delay(147);
Bpn1.write(0);
Cspn2.write(90);
Dpn2.write(0);
Fspn1.write(90);
delay(147);
Cspn2.write(0);
Dpn1.write(90);
Epn2.write(90);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Dpn1.write(0);
Epn2.write(0);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Cspn1.write(0);
Epn1.write(90);
Fspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn2.write(90);
Epn1.write(0);
Fspn1.write(90);
delay(147);
Bpn1.write(90);
Cspn2.write(0);
Dpn2.write(90);
Fspn1.write(0);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Dpn2.write(0);
Fspn2.write(90);
delay(147);
Cspn1.write(0);
Dpn1.write(90);
Epn2.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Dpn1.write(0);
Epn2.write(0);
Fspn1.write(90);
delay(147);
Bpn2.write(90);
Cspn2.write(0);
Epn1.write(90);
Fspn1.write(0);
delay(147);
Bpn2.write(0);
Cspn1.write(90);
Epn1.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(90);
Cspn1.write(0);
Dpn2.write(90);
Fspn2.write(0);
delay(147);
Bpn1.write(0);
Cspn2.write(90);
Dpn2.write(0);
Fspn1.write(90);
delay(147);
Cspn2.write(0);
Dpn1.write(90);
Epn2.write(90);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Dpn1.write(0);
Epn2.write(0);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Cspn1.write(0);
Epn1.write(90);
Fspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn2.write(90);
Epn1.write(0);
Fspn1.write(90);
delay(147);
Bpn1.write(90);
Cspn2.write(0);
Dpn2.write(90);
Fspn1.write(0);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Dpn2.write(0);
Fspn2.write(90);
delay(147);
Cspn1.write(0);
Dpn1.write(90);
Epn2.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Dpn1.write(0);
Epn2.write(0);
Fspn1.write(90);
delay(147);
Bpn2.write(90);
Cspn2.write(0);
Epn1.write(90);
Fspn1.write(0);
delay(147);
Bpn2.write(0);
Cspn1.write(90);
Epn1.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(90);
Cspn1.write(0);
Dpn2.write(90);
Fspn2.write(0);
delay(147);
Bpn1.write(0);
Cspn2.write(90);
Dpn2.write(0);
Fspn1.write(90);
delay(147);
Cspn2.write(0);
Dpn1.write(90);
Epn2.write(90);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Dpn1.write(0);
Epn2.write(0);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Cspn1.write(0);
Epn1.write(90);
Fspn2.write(0);
delay(144);
Bpn2.write(0);
Cspn2.write(90);
delay(3);
Epn1.write(0);
Fspn1.write(90);
delay(141);
Cspn2.write(0);
Dpn2.write(90);
delay(6);
Bpn1.write(90);
Fspn1.write(0);
delay(138);
Dpn2.write(0);
Fspn2.write(90);
delay(9);
Bpn1.write(0);
Cspn1.write(90);
delay(135);
Epn2.write(90);
Fspn2.write(0);
delay(12);
Cspn1.write(0);
Dpn1.write(90);
delay(132);
Cspn2.write(90);
Epn2.write(0);
delay(15);
Dpn1.write(0);
Fspn1.write(90);
delay(129);
Bpn2.write(90);
Cspn2.write(0);
delay(18);
Epn1.write(90);
Fspn1.write(0);
delay(126);
Bpn2.write(0);
Fspn2.write(90);
delay(21);
Cspn1.write(90);
Epn1.write(0);
delay(123);
Dpn2.write(90);
Fspn2.write(0);
delay(24);
Bpn1.write(90);
Cspn1.write(0);
delay(120);
Cspn2.write(90);
Dpn2.write(0);
delay(27);
Bpn1.write(0);
Fspn1.write(90);
delay(117);
Cspn2.write(0);
Epn2.write(90);
delay(30);
Dpn1.write(90);
Fspn1.write(0);
delay(114);
Epn2.write(0);
Fspn2.write(90);
delay(33);
Cspn1.write(90);
Dpn1.write(0);
delay(111);
Bpn2.write(90);
Fspn2.write(0);
delay(36);
Cspn1.write(0);
Epn1.write(90);
delay(108);
Bpn2.write(0);
Cspn2.write(90);
delay(39);
Epn1.write(0);
Fspn1.write(90);
delay(105);
Cspn2.write(0);
Dpn2.write(90);
delay(42);
Bpn1.write(90);
Fspn1.write(0);
delay(102);
Dpn2.write(0);
Fspn2.write(90);
delay(45);
Bpn1.write(0);
Cspn1.write(90);
delay(99);
Epn2.write(90);
Fspn2.write(0);
delay(48);
Cspn1.write(0);
Dpn1.write(90);
delay(96);
Cspn2.write(90);
Epn2.write(0);
delay(51);
Dpn1.write(0);
Fspn1.write(90);
delay(93);
Bpn2.write(90);
Cspn2.write(0);
delay(54);
Epn1.write(90);
Fspn1.write(0);
delay(90);
Bpn2.write(0);
Fspn2.write(90);
delay(57);
Cspn1.write(90);
Epn1.write(0);
delay(87);
Dpn2.write(90);
Fspn2.write(0);
delay(60);
Bpn1.write(90);
Cspn1.write(0);
delay(84);
Cspn2.write(90);
Dpn2.write(0);
delay(63);
Bpn1.write(0);
Fspn1.write(90);
delay(81);
Cspn2.write(0);
Epn2.write(90);
delay(66);
Dpn1.write(90);
Fspn1.write(0);
delay(78);
Epn2.write(0);
Fspn2.write(90);
delay(69);
Cspn1.write(90);
Dpn1.write(0);
delay(75);
Bpn2.write(90);
Fspn2.write(0);
delay(72);
Cspn1.write(0);
Epn1.write(90);
delay(72);
Bpn2.write(0);
Cspn2.write(90);
delay(75);
Epn1.write(0);
Fspn1.write(90);
delay(69);
Cspn2.write(0);
Dpn2.write(90);
delay(78);
Bpn1.write(90);
Fspn1.write(0);
delay(66);
Dpn2.write(0);
Fspn2.write(90);
delay(81);
Bpn1.write(0);
Cspn1.write(90);
delay(63);
Epn2.write(90);
Fspn2.write(0);
delay(84);
Cspn1.write(0);
Dpn1.write(90);
delay(60);
Cspn2.write(90);
Epn2.write(0);
delay(87);
Dpn1.write(0);
Fspn1.write(90);
delay(57);
Bpn2.write(90);
Cspn2.write(0);
delay(90);
Epn1.write(90);
Fspn1.write(0);
delay(54);
Bpn2.write(0);
Fspn2.write(90);
delay(93);
Cspn1.write(90);
Epn1.write(0);
delay(51);
Dpn2.write(90);
Fspn2.write(0);
delay(96);
Bpn1.write(90);
Cspn1.write(0);
delay(48);
Cspn2.write(90);
Dpn2.write(0);
delay(99);
Bpn1.write(0);
Fspn1.write(90);
delay(45);
Cspn2.write(0);
Epn2.write(90);
delay(102);
Dpn1.write(90);
Fspn1.write(0);
delay(42);
Epn2.write(0);
Fspn2.write(90);
delay(105);
Cspn1.write(90);
Dpn1.write(0);
delay(39);
Bpn2.write(90);
Fspn2.write(0);
delay(108);
Cspn1.write(0);
Epn1.write(90);
delay(36);
Bpn2.write(0);
Cspn2.write(90);
delay(111);
Epn1.write(0);
Fspn1.write(90);
delay(33);
Cspn2.write(0);
Dpn2.write(90);
delay(114);
Bpn1.write(90);
Fspn1.write(0);
delay(30);
Dpn2.write(0);
Fspn2.write(90);
delay(117);
Bpn1.write(0);
Cspn1.write(90);
delay(27);
Epn2.write(90);
Fspn2.write(0);
delay(120);
Cspn1.write(0);
Dpn1.write(90);
delay(24);
Cspn2.write(90);
Epn2.write(0);
delay(123);
Dpn1.write(0);
Fspn1.write(90);
delay(21);
Bpn2.write(90);
Cspn2.write(0);
delay(126);
Epn1.write(90);
Fspn1.write(0);
delay(18);
Bpn2.write(0);
Fspn2.write(90);
delay(129);
Cspn1.write(90);
Epn1.write(0);
delay(15);
Dpn2.write(90);
Fspn2.write(0);
delay(132);
Bpn1.write(90);
Cspn1.write(0);
delay(12);
Cspn2.write(90);
Dpn2.write(0);
delay(135);
Bpn1.write(0);
Fspn1.write(90);
delay(9);
Cspn2.write(0);
Epn2.write(90);
delay(138);
Dpn1.write(90);
Fspn1.write(0);
delay(6);
Epn2.write(0);
Fspn2.write(90);
delay(141);
Cspn1.write(90);
Dpn1.write(0);
delay(3);
Bpn2.write(90);
Fspn2.write(0);
delay(144);
Bpn2.write(0);
Cspn1.write(0);
Cspn2.write(90);
Epn1.write(90);
delay(147);
Cspn2.write(0);
Dpn2.write(90);
Epn1.write(0);
Fspn1.write(90);
delay(147);
Bpn1.write(90);
Dpn2.write(0);
Fspn1.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Epn2.write(90);
Fspn2.write(0);
delay(147);
Cspn1.write(0);
Cspn2.write(90);
Dpn1.write(90);
Epn2.write(0);
delay(147);
Bpn2.write(90);
Cspn2.write(0);
Dpn1.write(0);
Fspn1.write(90);
delay(147);
Bpn2.write(0);
Epn1.write(90);
Fspn1.write(0);
Fspn2.write(90);
delay(147);
Cspn1.write(90);
Dpn2.write(90);
Epn1.write(0);
Fspn2.write(0);
delay(147);
Bpn1.write(90);
Cspn1.write(0);
Cspn2.write(90);
Dpn2.write(0);
delay(147);
Bpn1.write(0);
Cspn2.write(0);
Epn2.write(90);
Fspn1.write(90);
delay(147);
Dpn1.write(90);
Epn2.write(0);
Fspn1.write(0);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Cspn1.write(90);
Dpn1.write(0);
Fspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn1.write(0);
Cspn2.write(90);
Epn1.write(90);
delay(147);
Cspn2.write(0);
Dpn2.write(90);
Epn1.write(0);
Fspn1.write(90);
delay(147);
Bpn1.write(90);
Dpn2.write(0);
Fspn1.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Epn2.write(90);
Fspn2.write(0);
delay(147);
Cspn1.write(0);
Cspn2.write(90);
Dpn1.write(90);
Epn2.write(0);
delay(147);
Bpn2.write(90);
Cspn2.write(0);
Dpn1.write(0);
Fspn1.write(90);
delay(147);
Bpn2.write(0);
Epn1.write(90);
Fspn1.write(0);
Fspn2.write(90);
delay(147);
Cspn1.write(90);
Dpn2.write(90);
Epn1.write(0);
Fspn2.write(0);
delay(147);
Bpn1.write(90);
Cspn1.write(0);
Cspn2.write(90);
Dpn2.write(0);
delay(147);
Bpn1.write(0);
Cspn2.write(0);
Epn2.write(90);
Fspn1.write(90);
delay(147);
Dpn1.write(90);
Epn2.write(0);
Fspn1.write(0);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Cspn1.write(90);
Dpn1.write(0);
Fspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn1.write(0);
Cspn2.write(90);
Epn1.write(90);
delay(147);
Cspn2.write(0);
Dpn2.write(90);
Epn1.write(0);
Fspn1.write(90);
delay(147);
Bpn1.write(90);
Dpn2.write(0);
Fspn1.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Epn2.write(90);
Fspn2.write(0);
delay(147);
Cspn1.write(0);
Cspn2.write(90);
Dpn1.write(90);
Epn2.write(0);
delay(147);
Bpn2.write(90);
Cspn2.write(0);
Dpn1.write(0);
Fspn1.write(90);
delay(147);
Bpn2.write(0);
Epn1.write(90);
Fspn1.write(0);
Fspn2.write(90);
delay(147);
Cspn1.write(90);
Dpn2.write(90);
Epn1.write(0);
Fspn2.write(0);
delay(147);
Bpn1.write(90);
Cspn1.write(0);
Cspn2.write(90);
Dpn2.write(0);
delay(147);
Bpn1.write(0);
Cspn2.write(0);
Epn2.write(90);
Fspn1.write(90);
delay(147);
Dpn1.write(90);
Epn2.write(0);
Fspn1.write(0);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Cspn1.write(90);
Dpn1.write(0);
Fspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn1.write(0);
Cspn2.write(90);
Epn1.write(90);
delay(147);
Cspn2.write(0);
Dpn2.write(90);
Epn1.write(0);
Fspn1.write(90);
delay(147);
Bpn1.write(90);
Dpn2.write(0);
Fspn1.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Epn2.write(90);
Fspn2.write(0);
delay(147);
Cspn1.write(0);
Cspn2.write(90);
Dpn1.write(90);
Epn2.write(0);
delay(147);
Bpn2.write(90);
Cspn2.write(0);
Dpn1.write(0);
Fspn1.write(90);
delay(147);
Bpn2.write(0);
Epn1.write(90);
Fspn1.write(0);
Fspn2.write(90);
delay(147);
Cspn1.write(90);
Dpn2.write(90);
Epn1.write(0);
Fspn2.write(0);
delay(147);
Bpn1.write(90);
Cspn1.write(0);
Cspn2.write(90);
Dpn2.write(0);
delay(147);
Bpn1.write(0);
Cspn2.write(0);
Epn2.write(90);
Fspn1.write(90);
delay(147);
Dpn1.write(90);
Epn2.write(0);
Fspn1.write(0);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Cspn1.write(90);
Dpn1.write(0);
Fspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn1.write(0);
Cspn2.write(90);
Epn1.write(90);
delay(144);
Cspn2.write(0);
Dpn2.write(90);
delay(3);
Epn1.write(0);
Fspn1.write(90);
delay(141);
Dpn2.write(0);
Fspn2.write(90);
delay(6);
Bpn1.write(90);
Fspn1.write(0);
delay(138);
Epn2.write(90);
Fspn2.write(0);
delay(9);
Bpn1.write(0);
Cspn1.write(90);
delay(135);
Cspn2.write(90);
Epn2.write(0);
delay(12);
Cspn1.write(0);
Dpn1.write(90);
delay(132);
Bpn2.write(90);
Cspn2.write(0);
delay(15);
Dpn1.write(0);
Fspn1.write(90);
delay(129);
Bpn2.write(0);
Fspn2.write(90);
delay(18);
Epn1.write(90);
Fspn1.write(0);
delay(126);
Dpn2.write(90);
Fspn2.write(0);
delay(21);
Cspn1.write(90);
Epn1.write(0);
delay(123);
Cspn2.write(90);
Dpn2.write(0);
delay(24);
Bpn1.write(90);
Cspn1.write(0);
delay(120);
Cspn2.write(0);
Epn2.write(90);
delay(27);
Bpn1.write(0);
Fspn1.write(90);
delay(117);
Epn2.write(0);
Fspn2.write(90);
delay(30);
Dpn1.write(90);
Fspn1.write(0);
delay(114);
Bpn2.write(90);
Fspn2.write(0);
delay(33);
Cspn1.write(90);
Dpn1.write(0);
delay(111);
Bpn2.write(0);
Cspn2.write(90);
delay(36);
Cspn1.write(0);
Epn1.write(90);
delay(108);
Cspn2.write(0);
Dpn2.write(90);
delay(39);
Epn1.write(0);
Fspn1.write(90);
delay(105);
Dpn2.write(0);
Fspn2.write(90);
delay(42);
Bpn1.write(90);
Fspn1.write(0);
delay(102);
Epn2.write(90);
Fspn2.write(0);
delay(45);
Bpn1.write(0);
Cspn1.write(90);
delay(99);
Cspn2.write(90);
Epn2.write(0);
delay(48);
Cspn1.write(0);
Dpn1.write(90);
delay(96);
Bpn2.write(90);
Cspn2.write(0);
delay(51);
Dpn1.write(0);
Fspn1.write(90);
delay(93);
Bpn2.write(0);
Fspn2.write(90);
delay(54);
Epn1.write(90);
Fspn1.write(0);
delay(90);
Dpn2.write(90);
Fspn2.write(0);
delay(57);
Cspn1.write(90);
Epn1.write(0);
delay(87);
Cspn2.write(90);
Dpn2.write(0);
delay(60);
Bpn1.write(90);
Cspn1.write(0);
delay(84);
Cspn2.write(0);
Epn2.write(90);
delay(63);
Bpn1.write(0);
Fspn1.write(90);
delay(81);
Epn2.write(0);
Fspn2.write(90);
delay(66);
Dpn1.write(90);
Fspn1.write(0);
delay(78);
Bpn2.write(90);
Fspn2.write(0);
delay(69);
Cspn1.write(90);
Dpn1.write(0);
delay(75);
Bpn2.write(0);
Cspn2.write(90);
delay(72);
Cspn1.write(0);
Epn1.write(90);
delay(72);
Cspn2.write(0);
Dpn2.write(90);
delay(75);
Epn1.write(0);
Fspn1.write(90);
delay(69);
Dpn2.write(0);
Fspn2.write(90);
delay(78);
Bpn1.write(90);
Fspn1.write(0);
delay(66);
Epn2.write(90);
Fspn2.write(0);
delay(81);
Bpn1.write(0);
Cspn1.write(90);
delay(63);
Cspn2.write(90);
Epn2.write(0);
delay(84);
Cspn1.write(0);
Dpn1.write(90);
delay(60);
Bpn2.write(90);
Cspn2.write(0);
delay(87);
Dpn1.write(0);
Fspn1.write(90);
delay(57);
Bpn2.write(0);
Fspn2.write(90);
delay(90);
Epn1.write(90);
Fspn1.write(0);
delay(54);
Dpn2.write(90);
Fspn2.write(0);
delay(93);
Cspn1.write(90);
Epn1.write(0);
delay(51);
Cspn2.write(90);
Dpn2.write(0);
delay(96);
Bpn1.write(90);
Cspn1.write(0);
delay(48);
Cspn2.write(0);
Epn2.write(90);
delay(99);
Bpn1.write(0);
Fspn1.write(90);
delay(45);
Epn2.write(0);
Fspn2.write(90);
delay(102);
Dpn1.write(90);
Fspn1.write(0);
delay(42);
Bpn2.write(90);
Fspn2.write(0);
delay(105);
Cspn1.write(90);
Dpn1.write(0);
delay(39);
Bpn2.write(0);
Cspn2.write(90);
delay(108);
Cspn1.write(0);
Epn1.write(90);
delay(36);
Cspn2.write(0);
Dpn2.write(90);
delay(111);
Epn1.write(0);
Fspn1.write(90);
delay(33);
Dpn2.write(0);
Fspn2.write(90);
delay(114);
Bpn1.write(90);
Fspn1.write(0);
delay(30);
Epn2.write(90);
Fspn2.write(0);
delay(117);
Bpn1.write(0);
Cspn1.write(90);
delay(27);
Cspn2.write(90);
Epn2.write(0);
delay(120);
Cspn1.write(0);
Dpn1.write(90);
delay(24);
Bpn2.write(90);
Cspn2.write(0);
delay(123);
Dpn1.write(0);
Fspn1.write(90);
delay(21);
Bpn2.write(0);
Fspn2.write(90);
delay(126);
Epn1.write(90);
Fspn1.write(0);
delay(18);
Dpn2.write(90);
Fspn2.write(0);
delay(129);
Cspn1.write(90);
Epn1.write(0);
delay(15);
Cspn2.write(90);
Dpn2.write(0);
delay(132);
Bpn1.write(90);
Cspn1.write(0);
delay(12);
Cspn2.write(0);
Epn2.write(90);
delay(135);
Bpn1.write(0);
Fspn1.write(90);
delay(9);
Epn2.write(0);
Fspn2.write(90);
delay(138);
Dpn1.write(90);
Fspn1.write(0);
delay(6);
Bpn2.write(90);
Fspn2.write(0);
delay(141);
Cspn1.write(90);
Dpn1.write(0);
delay(3);
Bpn2.write(0);
Cspn2.write(90);
delay(144);
Cspn1.write(0);
Cspn2.write(0);
Dpn2.write(90);
Epn1.write(90);
delay(147);
Dpn2.write(0);
Epn1.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Bpn1.write(90);
Epn2.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Cspn2.write(90);
Epn2.write(0);
delay(147);
Bpn2.write(90);
Cspn1.write(0);
Cspn2.write(0);
Dpn1.write(90);
delay(147);
Bpn2.write(0);
Dpn1.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Dpn2.write(90);
Epn1.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(90);
Dpn2.write(0);
Epn1.write(0);
delay(147);
Bpn1.write(90);
Cspn1.write(0);
Cspn2.write(0);
Epn2.write(90);
delay(147);
Bpn1.write(0);
Epn2.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Dpn1.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn1.write(90);
Cspn2.write(90);
Dpn1.write(0);
delay(147);
Cspn1.write(0);
Cspn2.write(0);
Dpn2.write(90);
Epn1.write(90);
delay(147);
Dpn2.write(0);
Epn1.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Bpn1.write(90);
Epn2.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Cspn2.write(90);
Epn2.write(0);
delay(147);
Bpn2.write(90);
Cspn1.write(0);
Cspn2.write(0);
Dpn1.write(90);
delay(147);
Bpn2.write(0);
Dpn1.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Dpn2.write(90);
Epn1.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(90);
Dpn2.write(0);
Epn1.write(0);
delay(147);
Bpn1.write(90);
Cspn1.write(0);
Cspn2.write(0);
Epn2.write(90);
delay(147);
Bpn1.write(0);
Epn2.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Dpn1.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn1.write(90);
Cspn2.write(90);
Dpn1.write(0);
delay(147);
Cspn1.write(0);
Cspn2.write(0);
Dpn2.write(90);
Epn1.write(90);
delay(147);
Dpn2.write(0);
Epn1.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Bpn1.write(90);
Epn2.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Cspn2.write(90);
Epn2.write(0);
delay(147);
Bpn2.write(90);
Cspn1.write(0);
Cspn2.write(0);
Dpn1.write(90);
delay(147);
Bpn2.write(0);
Dpn1.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Dpn2.write(90);
Epn1.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(90);
Dpn2.write(0);
Epn1.write(0);
delay(147);
Bpn1.write(90);
Cspn1.write(0);
Cspn2.write(0);
Epn2.write(90);
delay(147);
Bpn1.write(0);
Epn2.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Dpn1.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn1.write(90);
Cspn2.write(90);
Dpn1.write(0);
delay(147);
Cspn1.write(0);
Cspn2.write(0);
Dpn2.write(90);
Epn1.write(90);
delay(147);
Dpn2.write(0);
Epn1.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Bpn1.write(90);
Epn2.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Cspn2.write(90);
Epn2.write(0);
delay(147);
Bpn2.write(90);
Cspn1.write(0);
Cspn2.write(0);
Dpn1.write(90);
delay(147);
Bpn2.write(0);
Dpn1.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Dpn2.write(90);
Epn1.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(90);
Dpn2.write(0);
Epn1.write(0);
delay(147);
Bpn1.write(90);
Cspn1.write(0);
Cspn2.write(0);
Epn2.write(90);
delay(147);
Bpn1.write(0);
Epn2.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Dpn1.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn1.write(90);
Cspn2.write(90);
Dpn1.write(0);
delay(147);
Cspn1.write(0);
Cspn2.write(0);
Dpn2.write(90);
Epn1.write(90);
delay(144);
Dpn2.write(0);
Fspn2.write(90);
delay(3);
Epn1.write(0);
Fspn1.write(90);
delay(141);
Epn2.write(90);
Fspn2.write(0);
delay(6);
Bpn1.write(90);
Fspn1.write(0);
delay(138);
Cspn2.write(90);
Epn2.write(0);
delay(9);
Bpn1.write(0);
Cspn1.write(90);
delay(135);
Bpn2.write(90);
Cspn2.write(0);
delay(12);
Cspn1.write(0);
Dpn1.write(90);
delay(132);
Bpn2.write(0);
Fspn2.write(90);
delay(15);
Dpn1.write(0);
Fspn1.write(90);
delay(129);
Dpn2.write(90);
Fspn2.write(0);
delay(18);
Epn1.write(90);
Fspn1.write(0);
delay(126);
Cspn2.write(90);
Dpn2.write(0);
delay(21);
Cspn1.write(90);
Epn1.write(0);
delay(123);
Cspn2.write(0);
Epn2.write(90);
delay(24);
Bpn1.write(90);
Cspn1.write(0);
delay(120);
Epn2.write(0);
Fspn2.write(90);
delay(27);
Bpn1.write(0);
Fspn1.write(90);
delay(117);
Bpn2.write(90);
Fspn2.write(0);
delay(30);
Dpn1.write(90);
Fspn1.write(0);
delay(114);
Bpn2.write(0);
Cspn2.write(90);
delay(33);
Cspn1.write(90);
Dpn1.write(0);
delay(111);
Cspn2.write(0);
Dpn2.write(90);
delay(36);
Cspn1.write(0);
Epn1.write(90);
delay(108);
Dpn2.write(0);
Fspn2.write(90);
delay(39);
Epn1.write(0);
Fspn1.write(90);
delay(105);
Epn2.write(90);
Fspn2.write(0);
delay(42);
Bpn1.write(90);
Fspn1.write(0);
delay(102);
Cspn2.write(90);
Epn2.write(0);
delay(45);
Bpn1.write(0);
Cspn1.write(90);
delay(99);
Bpn2.write(90);
Cspn2.write(0);
delay(48);
Cspn1.write(0);
Dpn1.write(90);
delay(96);
Bpn2.write(0);
Fspn2.write(90);
delay(51);
Dpn1.write(0);
Fspn1.write(90);
delay(93);
Dpn2.write(90);
Fspn2.write(0);
delay(54);
Epn1.write(90);
Fspn1.write(0);
delay(90);
Cspn2.write(90);
Dpn2.write(0);
delay(57);
Cspn1.write(90);
Epn1.write(0);
delay(87);
Cspn2.write(0);
Epn2.write(90);
delay(60);
Bpn1.write(90);
Cspn1.write(0);
delay(84);
Epn2.write(0);
Fspn2.write(90);
delay(63);
Bpn1.write(0);
Fspn1.write(90);
delay(81);
Bpn2.write(90);
Fspn2.write(0);
delay(66);
Dpn1.write(90);
Fspn1.write(0);
delay(78);
Bpn2.write(0);
Cspn2.write(90);
delay(69);
Cspn1.write(90);
Dpn1.write(0);
delay(75);
Cspn2.write(0);
Dpn2.write(90);
delay(72);
Cspn1.write(0);
Epn1.write(90);
delay(72);
Dpn2.write(0);
Fspn2.write(90);
delay(75);
Epn1.write(0);
Fspn1.write(90);
delay(69);
Epn2.write(90);
Fspn2.write(0);
delay(78);
Bpn1.write(90);
Fspn1.write(0);
delay(66);
Cspn2.write(90);
Epn2.write(0);
delay(81);
Bpn1.write(0);
Cspn1.write(90);
delay(63);
Bpn2.write(90);
Cspn2.write(0);
delay(84);
Cspn1.write(0);
Dpn1.write(90);
delay(60);
Bpn2.write(0);
Fspn2.write(90);
delay(87);
Dpn1.write(0);
Fspn1.write(90);
delay(57);
Dpn2.write(90);
Fspn2.write(0);
delay(90);
Epn1.write(90);
Fspn1.write(0);
delay(54);
Cspn2.write(90);
Dpn2.write(0);
delay(93);
Cspn1.write(90);
Epn1.write(0);
delay(51);
Cspn2.write(0);
Epn2.write(90);
delay(96);
Bpn1.write(90);
Cspn1.write(0);
delay(48);
Epn2.write(0);
Fspn2.write(90);
delay(99);
Bpn1.write(0);
Fspn1.write(90);
delay(45);
Bpn2.write(90);
Fspn2.write(0);
delay(102);
Dpn1.write(90);
Fspn1.write(0);
delay(42);
Bpn2.write(0);
Cspn2.write(90);
delay(105);
Cspn1.write(90);
Dpn1.write(0);
delay(39);
Cspn2.write(0);
Dpn2.write(90);
delay(108);
Cspn1.write(0);
Epn1.write(90);
delay(36);
Dpn2.write(0);
Fspn2.write(90);
delay(111);
Epn1.write(0);
Fspn1.write(90);
delay(33);
Epn2.write(90);
Fspn2.write(0);
delay(114);
Bpn1.write(90);
Fspn1.write(0);
delay(30);
Cspn2.write(90);
Epn2.write(0);
delay(117);
Bpn1.write(0);
Cspn1.write(90);
delay(27);
Bpn2.write(90);
Cspn2.write(0);
delay(120);
Cspn1.write(0);
Dpn1.write(90);
delay(24);
Bpn2.write(0);
Fspn2.write(90);
delay(123);
Dpn1.write(0);
Fspn1.write(90);
delay(21);
Dpn2.write(90);
Fspn2.write(0);
delay(126);
Epn1.write(90);
Fspn1.write(0);
delay(18);
Cspn2.write(90);
Dpn2.write(0);
delay(129);
Cspn1.write(90);
Epn1.write(0);
delay(15);
Cspn2.write(0);
Epn2.write(90);
delay(132);
Bpn1.write(90);
Cspn1.write(0);
delay(12);
Epn2.write(0);
Fspn2.write(90);
delay(135);
Bpn1.write(0);
Fspn1.write(90);
delay(9);
Bpn2.write(90);
Fspn2.write(0);
delay(138);
Dpn1.write(90);
Fspn1.write(0);
delay(6);
Bpn2.write(0);
Cspn2.write(90);
delay(141);
Cspn1.write(90);
Dpn1.write(0);
delay(3);
Cspn2.write(0);
Dpn2.write(90);
delay(144);
Cspn1.write(0);
Dpn2.write(0);
Epn1.write(90);
Fspn2.write(90);
delay(147);
Epn1.write(0);
Epn2.write(90);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Bpn1.write(90);
Cspn2.write(90);
Epn2.write(0);
Fspn1.write(0);
delay(147);
Bpn1.write(0);
Bpn2.write(90);
Cspn1.write(90);
Cspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn1.write(0);
Dpn1.write(90);
Fspn2.write(90);
delay(147);
Dpn1.write(0);
Dpn2.write(90);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Dpn2.write(0);
Epn1.write(90);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(0);
Epn1.write(0);
Epn2.write(90);
delay(147);
Bpn1.write(90);
Cspn1.write(0);
Epn2.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(0);
Bpn2.write(90);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn2.write(90);
Dpn1.write(90);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(0);
Dpn1.write(0);
Dpn2.write(90);
delay(147);
Cspn1.write(0);
Dpn2.write(0);
Epn1.write(90);
Fspn2.write(90);
delay(147);
Epn1.write(0);
Epn2.write(90);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Bpn1.write(90);
Cspn2.write(90);
Epn2.write(0);
Fspn1.write(0);
delay(147);
Bpn1.write(0);
Bpn2.write(90);
Cspn1.write(90);
Cspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn1.write(0);
Dpn1.write(90);
Fspn2.write(90);
delay(147);
Dpn1.write(0);
Dpn2.write(90);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Dpn2.write(0);
Epn1.write(90);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(0);
Epn1.write(0);
Epn2.write(90);
delay(147);
Bpn1.write(90);
Cspn1.write(0);
Epn2.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(0);
Bpn2.write(90);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn2.write(90);
Dpn1.write(90);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(0);
Dpn1.write(0);
Dpn2.write(90);
delay(147);
Cspn1.write(0);
Dpn2.write(0);
Epn1.write(90);
Fspn2.write(90);
delay(147);
Epn1.write(0);
Epn2.write(90);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Bpn1.write(90);
Cspn2.write(90);
Epn2.write(0);
Fspn1.write(0);
delay(147);
Bpn1.write(0);
Bpn2.write(90);
Cspn1.write(90);
Cspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn1.write(0);
Dpn1.write(90);
Fspn2.write(90);
delay(147);
Dpn1.write(0);
Dpn2.write(90);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Dpn2.write(0);
Epn1.write(90);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(0);
Epn1.write(0);
Epn2.write(90);
delay(147);
Bpn1.write(90);
Cspn1.write(0);
Epn2.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(0);
Bpn2.write(90);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn2.write(90);
Dpn1.write(90);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(0);
Dpn1.write(0);
Dpn2.write(90);
delay(147);
Cspn1.write(0);
Dpn2.write(0);
Epn1.write(90);
Fspn2.write(90);
delay(147);
Epn1.write(0);
Epn2.write(90);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Bpn1.write(90);
Cspn2.write(90);
Epn2.write(0);
Fspn1.write(0);
delay(147);
Bpn1.write(0);
Bpn2.write(90);
Cspn1.write(90);
Cspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn1.write(0);
Dpn1.write(90);
Fspn2.write(90);
delay(147);
Dpn1.write(0);
Dpn2.write(90);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Dpn2.write(0);
Epn1.write(90);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(0);
Epn1.write(0);
Epn2.write(90);
delay(147);
Bpn1.write(90);
Cspn1.write(0);
Epn2.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(0);
Bpn2.write(90);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn2.write(90);
Dpn1.write(90);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(0);
Dpn1.write(0);
Dpn2.write(90);
delay(147);
Cspn1.write(0);
Dpn2.write(0);
Epn1.write(90);
Fspn2.write(90);
delay(144);
Epn2.write(90);
Fspn2.write(0);
delay(3);
Epn1.write(0);
Fspn1.write(90);
delay(141);
Cspn2.write(90);
Epn2.write(0);
delay(6);
Bpn1.write(90);
Fspn1.write(0);
delay(138);
Bpn2.write(90);
Cspn2.write(0);
delay(9);
Bpn1.write(0);
Cspn1.write(90);
delay(135);
Bpn2.write(0);
Fspn2.write(90);
delay(12);
Cspn1.write(0);
Dpn1.write(90);
delay(132);
Dpn2.write(90);
Fspn2.write(0);
delay(15);
Dpn1.write(0);
Fspn1.write(90);
delay(129);
Cspn2.write(90);
Dpn2.write(0);
delay(18);
Epn1.write(90);
Fspn1.write(0);
delay(126);
Cspn2.write(0);
Epn2.write(90);
delay(21);
Cspn1.write(90);
Epn1.write(0);
delay(123);
Epn2.write(0);
Fspn2.write(90);
delay(24);
Bpn1.write(90);
Cspn1.write(0);
delay(120);
Bpn2.write(90);
Fspn2.write(0);
delay(27);
Bpn1.write(0);
Fspn1.write(90);
delay(117);
Bpn2.write(0);
Cspn2.write(90);
delay(30);
Dpn1.write(90);
Fspn1.write(0);
delay(114);
Cspn2.write(0);
Dpn2.write(90);
delay(33);
Cspn1.write(90);
Dpn1.write(0);
delay(111);
Dpn2.write(0);
Fspn2.write(90);
delay(36);
Cspn1.write(0);
Epn1.write(90);
delay(108);
Epn2.write(90);
Fspn2.write(0);
delay(39);
Epn1.write(0);
Fspn1.write(90);
delay(105);
Cspn2.write(90);
Epn2.write(0);
delay(42);
Bpn1.write(90);
Fspn1.write(0);
delay(102);
Bpn2.write(90);
Cspn2.write(0);
delay(45);
Bpn1.write(0);
Cspn1.write(90);
delay(99);
Bpn2.write(0);
Fspn2.write(90);
delay(48);
Cspn1.write(0);
Dpn1.write(90);
delay(96);
Dpn2.write(90);
Fspn2.write(0);
delay(51);
Dpn1.write(0);
Fspn1.write(90);
delay(93);
Cspn2.write(90);
Dpn2.write(0);
delay(54);
Epn1.write(90);
Fspn1.write(0);
delay(90);
Cspn2.write(0);
Epn2.write(90);
delay(57);
Cspn1.write(90);
Epn1.write(0);
delay(87);
Epn2.write(0);
Fspn2.write(90);
delay(60);
Bpn1.write(90);
Cspn1.write(0);
delay(84);
Bpn2.write(90);
Fspn2.write(0);
delay(63);
Bpn1.write(0);
Fspn1.write(90);
delay(81);
Bpn2.write(0);
Cspn2.write(90);
delay(66);
Dpn1.write(90);
Fspn1.write(0);
delay(78);
Cspn2.write(0);
Dpn2.write(90);
delay(69);
Cspn1.write(90);
Dpn1.write(0);
delay(75);
Dpn2.write(0);
Fspn2.write(90);
delay(72);
Cspn1.write(0);
Epn1.write(90);
delay(72);
Epn2.write(90);
Fspn2.write(0);
delay(75);
Epn1.write(0);
Fspn1.write(90);
delay(69);
Cspn2.write(90);
Epn2.write(0);
delay(78);
Bpn1.write(90);
Fspn1.write(0);
delay(66);
Bpn2.write(90);
Cspn2.write(0);
delay(81);
Bpn1.write(0);
Cspn1.write(90);
delay(63);
Bpn2.write(0);
Fspn2.write(90);
delay(84);
Cspn1.write(0);
Dpn1.write(90);
delay(60);
Dpn2.write(90);
Fspn2.write(0);
delay(87);
Dpn1.write(0);
Fspn1.write(90);
delay(57);
Cspn2.write(90);
Dpn2.write(0);
delay(90);
Epn1.write(90);
Fspn1.write(0);
delay(54);
Cspn2.write(0);
Epn2.write(90);
delay(93);
Cspn1.write(90);
Epn1.write(0);
delay(51);
Epn2.write(0);
Fspn2.write(90);
delay(96);
Bpn1.write(90);
Cspn1.write(0);
delay(48);
Bpn2.write(90);
Fspn2.write(0);
delay(99);
Bpn1.write(0);
Fspn1.write(90);
delay(45);
Bpn2.write(0);
Cspn2.write(90);
delay(102);
Dpn1.write(90);
Fspn1.write(0);
delay(42);
Cspn2.write(0);
Dpn2.write(90);
delay(105);
Cspn1.write(90);
Dpn1.write(0);
delay(39);
Dpn2.write(0);
Fspn2.write(90);
delay(108);
Cspn1.write(0);
Epn1.write(90);
delay(36);
Epn2.write(90);
Fspn2.write(0);
delay(111);
Epn1.write(0);
Fspn1.write(90);
delay(33);
Cspn2.write(90);
Epn2.write(0);
delay(114);
Bpn1.write(90);
Fspn1.write(0);
delay(30);
Bpn2.write(90);
Cspn2.write(0);
delay(117);
Bpn1.write(0);
Cspn1.write(90);
delay(27);
Bpn2.write(0);
Fspn2.write(90);
delay(120);
Cspn1.write(0);
Dpn1.write(90);
delay(24);
Dpn2.write(90);
Fspn2.write(0);
delay(123);
Dpn1.write(0);
Fspn1.write(90);
delay(21);
Cspn2.write(90);
Dpn2.write(0);
delay(126);
Epn1.write(90);
Fspn1.write(0);
delay(18);
Cspn2.write(0);
Epn2.write(90);
delay(129);
Cspn1.write(90);
Epn1.write(0);
delay(15);
Epn2.write(0);
Fspn2.write(90);
delay(132);
Bpn1.write(90);
Cspn1.write(0);
delay(12);
Bpn2.write(90);
Fspn2.write(0);
delay(135);
Bpn1.write(0);
Fspn1.write(90);
delay(9);
Bpn2.write(0);
Cspn2.write(90);
delay(138);
Dpn1.write(90);
Fspn1.write(0);
delay(6);
Cspn2.write(0);
Dpn2.write(90);
delay(141);
Cspn1.write(90);
Dpn1.write(0);
delay(3);
Dpn2.write(0);
Fspn2.write(90);
delay(144);
Cspn1.write(0);
Epn1.write(90);
Epn2.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Epn1.write(0);
Epn2.write(0);
Fspn1.write(90);
delay(147);
Bpn1.write(90);
Bpn2.write(90);
Cspn2.write(0);
Fspn1.write(0);
delay(147);
Bpn1.write(0);
Bpn2.write(0);
Cspn1.write(90);
Fspn2.write(90);
delay(147);
Cspn1.write(0);
Dpn1.write(90);
Dpn2.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Dpn1.write(0);
Dpn2.write(0);
Fspn1.write(90);
delay(147);
Cspn2.write(0);
Epn1.write(90);
Epn2.write(90);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Epn1.write(0);
Epn2.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(90);
Bpn2.write(90);
Cspn1.write(0);
Fspn2.write(0);
delay(147);
Bpn1.write(0);
Bpn2.write(0);
Cspn2.write(90);
Fspn1.write(90);
delay(147);
Cspn2.write(0);
Dpn1.write(90);
Dpn2.write(90);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Dpn1.write(0);
Dpn2.write(0);
Fspn2.write(90);
delay(147);
Cspn1.write(0);
Epn1.write(90);
Epn2.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Epn1.write(0);
Epn2.write(0);
Fspn1.write(90);
delay(147);
Bpn1.write(90);
Bpn2.write(90);
Cspn2.write(0);
Fspn1.write(0);
delay(147);
Bpn1.write(0);
Bpn2.write(0);
Cspn1.write(90);
Fspn2.write(90);
delay(147);
Cspn1.write(0);
Dpn1.write(90);
Dpn2.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Dpn1.write(0);
Dpn2.write(0);
Fspn1.write(90);
delay(147);
Cspn2.write(0);
Epn1.write(90);
Epn2.write(90);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Epn1.write(0);
Epn2.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(90);
Bpn2.write(90);
Cspn1.write(0);
Fspn2.write(0);
delay(147);
Bpn1.write(0);
Bpn2.write(0);
Cspn2.write(90);
Fspn1.write(90);
delay(147);
Cspn2.write(0);
Dpn1.write(90);
Dpn2.write(90);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Dpn1.write(0);
Dpn2.write(0);
Fspn2.write(90);
delay(147);
Cspn1.write(0);
Epn1.write(90);
Epn2.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Epn1.write(0);
Epn2.write(0);
Fspn1.write(90);
delay(147);
Bpn1.write(90);
Bpn2.write(90);
Cspn2.write(0);
Fspn1.write(0);
delay(147);
Bpn1.write(0);
Bpn2.write(0);
Cspn1.write(90);
Fspn2.write(90);
delay(147);
Cspn1.write(0);
Dpn1.write(90);
Dpn2.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Dpn1.write(0);
Dpn2.write(0);
Fspn1.write(90);
delay(147);
Cspn2.write(0);
Epn1.write(90);
Epn2.write(90);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Epn1.write(0);
Epn2.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(90);
Bpn2.write(90);
Cspn1.write(0);
Fspn2.write(0);
delay(147);
Bpn1.write(0);
Bpn2.write(0);
Cspn2.write(90);
Fspn1.write(90);
delay(147);
Cspn2.write(0);
Dpn1.write(90);
Dpn2.write(90);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Dpn1.write(0);
Dpn2.write(0);
Fspn2.write(90);
delay(147);
Cspn1.write(0);
Epn1.write(90);
Epn2.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Epn1.write(0);
Epn2.write(0);
Fspn1.write(90);
delay(147);
Bpn1.write(90);
Bpn2.write(90);
Cspn2.write(0);
Fspn1.write(0);
delay(147);
Bpn1.write(0);
Bpn2.write(0);
Cspn1.write(90);
Fspn2.write(90);
delay(147);
Cspn1.write(0);
Dpn1.write(90);
Dpn2.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Dpn1.write(0);
Dpn2.write(0);
Fspn1.write(90);
delay(147);
Cspn2.write(0);
Epn1.write(90);
Epn2.write(90);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Epn1.write(0);
Epn2.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(90);
Bpn2.write(90);
Cspn1.write(0);
Fspn2.write(0);
delay(147);
Bpn1.write(0);
Bpn2.write(0);
Cspn2.write(90);
Fspn1.write(90);
delay(147);
Cspn2.write(0);
Dpn1.write(90);
Dpn2.write(90);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Dpn1.write(0);
Dpn2.write(0);
Fspn2.write(90);
delay(147);
Cspn1.write(0);
Epn1.write(90);
Epn2.write(90);
Fspn2.write(0);
delay(144);
Cspn2.write(90);
Epn2.write(0);
delay(3);
Epn1.write(0);
Fspn1.write(90);
delay(141);
Bpn2.write(90);
Cspn2.write(0);
delay(6);
Bpn1.write(90);
Fspn1.write(0);
delay(138);
Bpn2.write(0);
Fspn2.write(90);
delay(9);
Bpn1.write(0);
Cspn1.write(90);
delay(135);
Dpn2.write(90);
Fspn2.write(0);
delay(12);
Cspn1.write(0);
Dpn1.write(90);
delay(132);
Cspn2.write(90);
Dpn2.write(0);
delay(15);
Dpn1.write(0);
Fspn1.write(90);
delay(129);
Cspn2.write(0);
Epn2.write(90);
delay(18);
Epn1.write(90);
Fspn1.write(0);
delay(126);
Epn2.write(0);
Fspn2.write(90);
delay(21);
Cspn1.write(90);
Epn1.write(0);
delay(123);
Bpn2.write(90);
Fspn2.write(0);
delay(24);
Bpn1.write(90);
Cspn1.write(0);
delay(120);
Bpn2.write(0);
Cspn2.write(90);
delay(27);
Bpn1.write(0);
Fspn1.write(90);
delay(117);
Cspn2.write(0);
Dpn2.write(90);
delay(30);
Dpn1.write(90);
Fspn1.write(0);
delay(114);
Dpn2.write(0);
Fspn2.write(90);
delay(33);
Cspn1.write(90);
Dpn1.write(0);
delay(111);
Epn2.write(90);
Fspn2.write(0);
delay(36);
Cspn1.write(0);
Epn1.write(90);
delay(108);
Cspn2.write(90);
Epn2.write(0);
delay(39);
Epn1.write(0);
Fspn1.write(90);
delay(105);
Bpn2.write(90);
Cspn2.write(0);
delay(42);
Bpn1.write(90);
Fspn1.write(0);
delay(102);
Bpn2.write(0);
Fspn2.write(90);
delay(45);
Bpn1.write(0);
Cspn1.write(90);
delay(99);
Dpn2.write(90);
Fspn2.write(0);
delay(48);
Cspn1.write(0);
Dpn1.write(90);
delay(96);
Cspn2.write(90);
Dpn2.write(0);
delay(51);
Dpn1.write(0);
Fspn1.write(90);
delay(93);
Cspn2.write(0);
Epn2.write(90);
delay(54);
Epn1.write(90);
Fspn1.write(0);
delay(90);
Epn2.write(0);
Fspn2.write(90);
delay(57);
Cspn1.write(90);
Epn1.write(0);
delay(87);
Bpn2.write(90);
Fspn2.write(0);
delay(60);
Bpn1.write(90);
Cspn1.write(0);
delay(84);
Bpn2.write(0);
Cspn2.write(90);
delay(63);
Bpn1.write(0);
Fspn1.write(90);
delay(81);
Cspn2.write(0);
Dpn2.write(90);
delay(66);
Dpn1.write(90);
Fspn1.write(0);
delay(78);
Dpn2.write(0);
Fspn2.write(90);
delay(69);
Cspn1.write(90);
Dpn1.write(0);
delay(75);
Epn2.write(90);
Fspn2.write(0);
delay(72);
Cspn1.write(0);
Epn1.write(90);
delay(72);
Cspn2.write(90);
Epn2.write(0);
delay(75);
Epn1.write(0);
Fspn1.write(90);
delay(69);
Bpn2.write(90);
Cspn2.write(0);
delay(78);
Bpn1.write(90);
Fspn1.write(0);
delay(66);
Bpn2.write(0);
Fspn2.write(90);
delay(81);
Bpn1.write(0);
Cspn1.write(90);
delay(63);
Dpn2.write(90);
Fspn2.write(0);
delay(84);
Cspn1.write(0);
Dpn1.write(90);
delay(60);
Cspn2.write(90);
Dpn2.write(0);
delay(87);
Dpn1.write(0);
Fspn1.write(90);
delay(57);
Cspn2.write(0);
Epn2.write(90);
delay(90);
Epn1.write(90);
Fspn1.write(0);
delay(54);
Epn2.write(0);
Fspn2.write(90);
delay(93);
Cspn1.write(90);
Epn1.write(0);
delay(51);
Bpn2.write(90);
Fspn2.write(0);
delay(96);
Bpn1.write(90);
Cspn1.write(0);
delay(48);
Bpn2.write(0);
Cspn2.write(90);
delay(99);
Bpn1.write(0);
Fspn1.write(90);
delay(45);
Cspn2.write(0);
Dpn2.write(90);
delay(102);
Dpn1.write(90);
Fspn1.write(0);
delay(42);
Dpn2.write(0);
Fspn2.write(90);
delay(105);
Cspn1.write(90);
Dpn1.write(0);
delay(39);
Epn2.write(90);
Fspn2.write(0);
delay(108);
Cspn1.write(0);
Epn1.write(90);
delay(36);
Cspn2.write(90);
Epn2.write(0);
delay(111);
Epn1.write(0);
Fspn1.write(90);
delay(33);
Bpn2.write(90);
Cspn2.write(0);
delay(114);
Bpn1.write(90);
Fspn1.write(0);
delay(30);
Bpn2.write(0);
Fspn2.write(90);
delay(117);
Bpn1.write(0);
Cspn1.write(90);
delay(27);
Dpn2.write(90);
Fspn2.write(0);
delay(120);
Cspn1.write(0);
Dpn1.write(90);
delay(24);
Cspn2.write(90);
Dpn2.write(0);
delay(123);
Dpn1.write(0);
Fspn1.write(90);
delay(21);
Cspn2.write(0);
Epn2.write(90);
delay(126);
Epn1.write(90);
Fspn1.write(0);
delay(18);
Epn2.write(0);
Fspn2.write(90);
delay(129);
Cspn1.write(90);
Epn1.write(0);
delay(15);
Bpn2.write(90);
Fspn2.write(0);
delay(132);
Bpn1.write(90);
Cspn1.write(0);
delay(12);
Bpn2.write(0);
Cspn2.write(90);
delay(135);
Bpn1.write(0);
Fspn1.write(90);
delay(9);
Cspn2.write(0);
Dpn2.write(90);
delay(138);
Dpn1.write(90);
Fspn1.write(0);
delay(6);
Dpn2.write(0);
Fspn2.write(90);
delay(141);
Cspn1.write(90);
Dpn1.write(0);
delay(3);
Epn2.write(90);
Fspn2.write(0);
delay(144);
Cspn1.write(0);
Cspn2.write(90);
Epn1.write(90);
Epn2.write(0);
delay(147);
Bpn2.write(90);
Cspn2.write(0);
Epn1.write(0);
Fspn1.write(90);
delay(147);
Bpn1.write(90);
Bpn2.write(0);
Fspn1.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Dpn2.write(90);
Fspn2.write(0);
delay(147);
Cspn1.write(0);
Cspn2.write(90);
Dpn1.write(90);
Dpn2.write(0);
delay(147);
Cspn2.write(0);
Dpn1.write(0);
Epn2.write(90);
Fspn1.write(90);
delay(147);
Epn1.write(90);
Epn2.write(0);
Fspn1.write(0);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Cspn1.write(90);
Epn1.write(0);
Fspn2.write(0);
delay(147);
Bpn1.write(90);
Bpn2.write(0);
Cspn1.write(0);
Cspn2.write(90);
delay(147);
Bpn1.write(0);
Cspn2.write(0);
Dpn2.write(90);
Fspn1.write(90);
delay(147);
Dpn1.write(90);
Dpn2.write(0);
Fspn1.write(0);
Fspn2.write(90);
delay(147);
Cspn1.write(90);
Dpn1.write(0);
Epn2.write(90);
Fspn2.write(0);
delay(147);
Cspn1.write(0);
Cspn2.write(90);
Epn1.write(90);
Epn2.write(0);
delay(147);
Bpn2.write(90);
Cspn2.write(0);
Epn1.write(0);
Fspn1.write(90);
delay(147);
Bpn1.write(90);
Bpn2.write(0);
Fspn1.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Dpn2.write(90);
Fspn2.write(0);
delay(147);
Cspn1.write(0);
Cspn2.write(90);
Dpn1.write(90);
Dpn2.write(0);
delay(147);
Cspn2.write(0);
Dpn1.write(0);
Epn2.write(90);
Fspn1.write(90);
delay(147);
Epn1.write(90);
Epn2.write(0);
Fspn1.write(0);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Cspn1.write(90);
Epn1.write(0);
Fspn2.write(0);
delay(147);
Bpn1.write(90);
Bpn2.write(0);
Cspn1.write(0);
Cspn2.write(90);
delay(147);
Bpn1.write(0);
Cspn2.write(0);
Dpn2.write(90);
Fspn1.write(90);
delay(147);
Dpn1.write(90);
Dpn2.write(0);
Fspn1.write(0);
Fspn2.write(90);
delay(147);
Cspn1.write(90);
Dpn1.write(0);
Epn2.write(90);
Fspn2.write(0);
delay(147);
Cspn1.write(0);
Cspn2.write(90);
Epn1.write(90);
Epn2.write(0);
delay(147);
Bpn2.write(90);
Cspn2.write(0);
Epn1.write(0);
Fspn1.write(90);
delay(147);
Bpn1.write(90);
Bpn2.write(0);
Fspn1.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Dpn2.write(90);
Fspn2.write(0);
delay(147);
Cspn1.write(0);
Cspn2.write(90);
Dpn1.write(90);
Dpn2.write(0);
delay(147);
Cspn2.write(0);
Dpn1.write(0);
Epn2.write(90);
Fspn1.write(90);
delay(147);
Epn1.write(90);
Epn2.write(0);
Fspn1.write(0);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Cspn1.write(90);
Epn1.write(0);
Fspn2.write(0);
delay(147);
Bpn1.write(90);
Bpn2.write(0);
Cspn1.write(0);
Cspn2.write(90);
delay(147);
Bpn1.write(0);
Cspn2.write(0);
Dpn2.write(90);
Fspn1.write(90);
delay(147);
Dpn1.write(90);
Dpn2.write(0);
Fspn1.write(0);
Fspn2.write(90);
delay(147);
Cspn1.write(90);
Dpn1.write(0);
Epn2.write(90);
Fspn2.write(0);
delay(147);
Cspn1.write(0);
Cspn2.write(90);
Epn1.write(90);
Epn2.write(0);
delay(147);
Bpn2.write(90);
Cspn2.write(0);
Epn1.write(0);
Fspn1.write(90);
delay(147);
Bpn1.write(90);
Bpn2.write(0);
Fspn1.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Dpn2.write(90);
Fspn2.write(0);
delay(147);
Cspn1.write(0);
Cspn2.write(90);
Dpn1.write(90);
Dpn2.write(0);
delay(147);
Cspn2.write(0);
Dpn1.write(0);
Epn2.write(90);
Fspn1.write(90);
delay(147);
Epn1.write(90);
Epn2.write(0);
Fspn1.write(0);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Cspn1.write(90);
Epn1.write(0);
Fspn2.write(0);
delay(147);
Bpn1.write(90);
Bpn2.write(0);
Cspn1.write(0);
Cspn2.write(90);
delay(147);
Bpn1.write(0);
Cspn2.write(0);
Dpn2.write(90);
Fspn1.write(90);
delay(147);
Dpn1.write(90);
Dpn2.write(0);
Fspn1.write(0);
Fspn2.write(90);
delay(147);
Cspn1.write(90);
Dpn1.write(0);
Epn2.write(90);
Fspn2.write(0);
delay(147);
Cspn1.write(0);
Cspn2.write(90);
Epn1.write(90);
Epn2.write(0);
delay(144);
Bpn2.write(90);
Cspn2.write(0);
delay(3);
Epn1.write(0);
Fspn1.write(90);
delay(141);
Bpn2.write(0);
Fspn2.write(90);
delay(6);
Bpn1.write(90);
Fspn1.write(0);
delay(138);
Dpn2.write(90);
Fspn2.write(0);
delay(9);
Bpn1.write(0);
Cspn1.write(90);
delay(135);
Cspn2.write(90);
Dpn2.write(0);
delay(12);
Cspn1.write(0);
Dpn1.write(90);
delay(132);
Cspn2.write(0);
Epn2.write(90);
delay(15);
Dpn1.write(0);
Fspn1.write(90);
delay(129);
Epn2.write(0);
Fspn2.write(90);
delay(18);
Epn1.write(90);
Fspn1.write(0);
delay(126);
Bpn2.write(90);
Fspn2.write(0);
delay(21);
Cspn1.write(90);
Epn1.write(0);
delay(123);
Bpn2.write(0);
Cspn2.write(90);
delay(24);
Bpn1.write(90);
Cspn1.write(0);
delay(120);
Cspn2.write(0);
Dpn2.write(90);
delay(27);
Bpn1.write(0);
Fspn1.write(90);
delay(117);
Dpn2.write(0);
Fspn2.write(90);
delay(30);
Dpn1.write(90);
Fspn1.write(0);
delay(114);
Epn2.write(90);
Fspn2.write(0);
delay(33);
Cspn1.write(90);
Dpn1.write(0);
delay(111);
Cspn2.write(90);
Epn2.write(0);
delay(36);
Cspn1.write(0);
Epn1.write(90);
delay(108);
Bpn2.write(90);
Cspn2.write(0);
delay(39);
Epn1.write(0);
Fspn1.write(90);
delay(105);
Bpn2.write(0);
Fspn2.write(90);
delay(42);
Bpn1.write(90);
Fspn1.write(0);
delay(102);
Dpn2.write(90);
Fspn2.write(0);
delay(45);
Bpn1.write(0);
Cspn1.write(90);
delay(99);
Cspn2.write(90);
Dpn2.write(0);
delay(48);
Cspn1.write(0);
Dpn1.write(90);
delay(96);
Cspn2.write(0);
Epn2.write(90);
delay(51);
Dpn1.write(0);
Fspn1.write(90);
delay(93);
Epn2.write(0);
Fspn2.write(90);
delay(54);
Epn1.write(90);
Fspn1.write(0);
delay(90);
Bpn2.write(90);
Fspn2.write(0);
delay(57);
Cspn1.write(90);
Epn1.write(0);
delay(87);
Bpn2.write(0);
Cspn2.write(90);
delay(60);
Bpn1.write(90);
Cspn1.write(0);
delay(84);
Cspn2.write(0);
Dpn2.write(90);
delay(63);
Bpn1.write(0);
Fspn1.write(90);
delay(81);
Dpn2.write(0);
Fspn2.write(90);
delay(66);
Dpn1.write(90);
Fspn1.write(0);
delay(78);
Epn2.write(90);
Fspn2.write(0);
delay(69);
Cspn1.write(90);
Dpn1.write(0);
delay(75);
Cspn2.write(90);
Epn2.write(0);
delay(72);
Cspn1.write(0);
Epn1.write(90);
delay(72);
Bpn2.write(90);
Cspn2.write(0);
delay(75);
Epn1.write(0);
Fspn1.write(90);
delay(69);
Bpn2.write(0);
Fspn2.write(90);
delay(78);
Bpn1.write(90);
Fspn1.write(0);
delay(66);
Dpn2.write(90);
Fspn2.write(0);
delay(81);
Bpn1.write(0);
Cspn1.write(90);
delay(63);
Cspn2.write(90);
Dpn2.write(0);
delay(84);
Cspn1.write(0);
Dpn1.write(90);
delay(60);
Cspn2.write(0);
Epn2.write(90);
delay(87);
Dpn1.write(0);
Fspn1.write(90);
delay(57);
Epn2.write(0);
Fspn2.write(90);
delay(90);
Epn1.write(90);
Fspn1.write(0);
delay(54);
Bpn2.write(90);
Fspn2.write(0);
delay(93);
Cspn1.write(90);
Epn1.write(0);
delay(51);
Bpn2.write(0);
Cspn2.write(90);
delay(96);
Bpn1.write(90);
Cspn1.write(0);
delay(48);
Cspn2.write(0);
Dpn2.write(90);
delay(99);
Bpn1.write(0);
Fspn1.write(90);
delay(45);
Dpn2.write(0);
Fspn2.write(90);
delay(102);
Dpn1.write(90);
Fspn1.write(0);
delay(42);
Epn2.write(90);
Fspn2.write(0);
delay(105);
Cspn1.write(90);
Dpn1.write(0);
delay(39);
Cspn2.write(90);
Epn2.write(0);
delay(108);
Cspn1.write(0);
Epn1.write(90);
delay(36);
Bpn2.write(90);
Cspn2.write(0);
delay(111);
Epn1.write(0);
Fspn1.write(90);
delay(33);
Bpn2.write(0);
Fspn2.write(90);
delay(114);
Bpn1.write(90);
Fspn1.write(0);
delay(30);
Dpn2.write(90);
Fspn2.write(0);
delay(117);
Bpn1.write(0);
Cspn1.write(90);
delay(27);
Cspn2.write(90);
Dpn2.write(0);
delay(120);
Cspn1.write(0);
Dpn1.write(90);
delay(24);
Cspn2.write(0);
Epn2.write(90);
delay(123);
Dpn1.write(0);
Fspn1.write(90);
delay(21);
Epn2.write(0);
Fspn2.write(90);
delay(126);
Epn1.write(90);
Fspn1.write(0);
delay(18);
Bpn2.write(90);
Fspn2.write(0);
delay(129);
Cspn1.write(90);
Epn1.write(0);
delay(15);
Bpn2.write(0);
Cspn2.write(90);
delay(132);
Bpn1.write(90);
Cspn1.write(0);
delay(12);
Cspn2.write(0);
Dpn2.write(90);
delay(135);
Bpn1.write(0);
Fspn1.write(90);
delay(9);
Dpn2.write(0);
Fspn2.write(90);
delay(138);
Dpn1.write(90);
Fspn1.write(0);
delay(6);
Epn2.write(90);
Fspn2.write(0);
delay(141);
Cspn1.write(90);
Dpn1.write(0);
delay(3);
Cspn2.write(90);
Epn2.write(0);
delay(144);
Bpn2.write(90);
Cspn1.write(0);
Cspn2.write(0);
Epn1.write(90);
delay(147);
Bpn2.write(0);
Epn1.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Bpn1.write(90);
Dpn2.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Cspn2.write(90);
Dpn2.write(0);
delay(147);
Cspn1.write(0);
Cspn2.write(0);
Dpn1.write(90);
Epn2.write(90);
delay(147);
Dpn1.write(0);
Epn2.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Epn1.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn1.write(90);
Cspn2.write(90);
Epn1.write(0);
delay(147);
Bpn1.write(90);
Cspn1.write(0);
Cspn2.write(0);
Dpn2.write(90);
delay(147);
Bpn1.write(0);
Dpn2.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Dpn1.write(90);
Epn2.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(90);
Dpn1.write(0);
Epn2.write(0);
delay(147);
Bpn2.write(90);
Cspn1.write(0);
Cspn2.write(0);
Epn1.write(90);
delay(147);
Bpn2.write(0);
Epn1.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Bpn1.write(90);
Dpn2.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Cspn2.write(90);
Dpn2.write(0);
delay(147);
Cspn1.write(0);
Cspn2.write(0);
Dpn1.write(90);
Epn2.write(90);
delay(147);
Dpn1.write(0);
Epn2.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Epn1.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn1.write(90);
Cspn2.write(90);
Epn1.write(0);
delay(147);
Bpn1.write(90);
Cspn1.write(0);
Cspn2.write(0);
Dpn2.write(90);
delay(147);
Bpn1.write(0);
Dpn2.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Dpn1.write(90);
Epn2.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(90);
Dpn1.write(0);
Epn2.write(0);
delay(147);
Bpn2.write(90);
Cspn1.write(0);
Cspn2.write(0);
Epn1.write(90);
delay(147);
Bpn2.write(0);
Epn1.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Bpn1.write(90);
Dpn2.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Cspn2.write(90);
Dpn2.write(0);
delay(147);
Cspn1.write(0);
Cspn2.write(0);
Dpn1.write(90);
Epn2.write(90);
delay(147);
Dpn1.write(0);
Epn2.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Epn1.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn1.write(90);
Cspn2.write(90);
Epn1.write(0);
delay(147);
Bpn1.write(90);
Cspn1.write(0);
Cspn2.write(0);
Dpn2.write(90);
delay(147);
Bpn1.write(0);
Dpn2.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Dpn1.write(90);
Epn2.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(90);
Dpn1.write(0);
Epn2.write(0);
delay(147);
Bpn2.write(90);
Cspn1.write(0);
Cspn2.write(0);
Epn1.write(90);
delay(147);
Bpn2.write(0);
Epn1.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Bpn1.write(90);
Dpn2.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Cspn2.write(90);
Dpn2.write(0);
delay(147);
Cspn1.write(0);
Cspn2.write(0);
Dpn1.write(90);
Epn2.write(90);
delay(147);
Dpn1.write(0);
Epn2.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Epn1.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn1.write(90);
Cspn2.write(90);
Epn1.write(0);
delay(147);
Bpn1.write(90);
Cspn1.write(0);
Cspn2.write(0);
Dpn2.write(90);
delay(147);
Bpn1.write(0);
Dpn2.write(0);
Fspn1.write(90);
Fspn2.write(90);
delay(147);
Dpn1.write(90);
Epn2.write(90);
Fspn1.write(0);
Fspn2.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(90);
Dpn1.write(0);
Epn2.write(0);
delay(147);
Bpn2.write(90);
Cspn1.write(0);
Cspn2.write(0);
Epn1.write(90);
delay(144);
Bpn2.write(0);
Fspn2.write(90);
delay(3);
Epn1.write(0);
Fspn1.write(90);
delay(141);
Dpn2.write(90);
Fspn2.write(0);
delay(6);
Bpn1.write(90);
Fspn1.write(0);
delay(138);
Cspn2.write(90);
Dpn2.write(0);
delay(9);
Bpn1.write(0);
Cspn1.write(90);
delay(135);
Cspn2.write(0);
Epn2.write(90);
delay(12);
Cspn1.write(0);
Dpn1.write(90);
delay(132);
Epn2.write(0);
Fspn2.write(90);
delay(15);
Dpn1.write(0);
Fspn1.write(90);
delay(129);
Bpn2.write(90);
Fspn2.write(0);
delay(18);
Epn1.write(90);
Fspn1.write(0);
delay(126);
Bpn2.write(0);
Cspn2.write(90);
delay(21);
Cspn1.write(90);
Epn1.write(0);
delay(123);
Cspn2.write(0);
Dpn2.write(90);
delay(24);
Bpn1.write(90);
Cspn1.write(0);
delay(120);
Dpn2.write(0);
Fspn2.write(90);
delay(27);
Bpn1.write(0);
Fspn1.write(90);
delay(117);
Epn2.write(90);
Fspn2.write(0);
delay(30);
Dpn1.write(90);
Fspn1.write(0);
delay(114);
Cspn2.write(90);
Epn2.write(0);
delay(33);
Cspn1.write(90);
Dpn1.write(0);
delay(111);
Bpn2.write(90);
Cspn2.write(0);
delay(36);
Cspn1.write(0);
Epn1.write(90);
delay(108);
Bpn2.write(0);
Fspn2.write(90);
delay(39);
Epn1.write(0);
Fspn1.write(90);
delay(105);
Dpn2.write(90);
Fspn2.write(0);
delay(42);
Bpn1.write(90);
Fspn1.write(0);
delay(102);
Cspn2.write(90);
Dpn2.write(0);
delay(45);
Bpn1.write(0);
Cspn1.write(90);
delay(99);
Cspn2.write(0);
Epn2.write(90);
delay(48);
Cspn1.write(0);
Dpn1.write(90);
delay(96);
Epn2.write(0);
Fspn2.write(90);
delay(51);
Dpn1.write(0);
Fspn1.write(90);
delay(93);
Bpn2.write(90);
Fspn2.write(0);
delay(54);
Epn1.write(90);
Fspn1.write(0);
delay(90);
Bpn2.write(0);
Cspn2.write(90);
delay(57);
Cspn1.write(90);
Epn1.write(0);
delay(87);
Cspn2.write(0);
Dpn2.write(90);
delay(60);
Bpn1.write(90);
Cspn1.write(0);
delay(84);
Dpn2.write(0);
Fspn2.write(90);
delay(63);
Bpn1.write(0);
Fspn1.write(90);
delay(81);
Epn2.write(90);
Fspn2.write(0);
delay(66);
Dpn1.write(90);
Fspn1.write(0);
delay(78);
Cspn2.write(90);
Epn2.write(0);
delay(69);
Cspn1.write(90);
Dpn1.write(0);
delay(75);
Bpn2.write(90);
Cspn2.write(0);
delay(72);
Cspn1.write(0);
Epn1.write(90);
delay(72);
Bpn2.write(0);
Fspn2.write(90);
delay(75);
Epn1.write(0);
Fspn1.write(90);
delay(69);
Dpn2.write(90);
Fspn2.write(0);
delay(78);
Bpn1.write(90);
Fspn1.write(0);
delay(66);
Cspn2.write(90);
Dpn2.write(0);
delay(81);
Bpn1.write(0);
Cspn1.write(90);
delay(63);
Cspn2.write(0);
Epn2.write(90);
delay(84);
Cspn1.write(0);
Dpn1.write(90);
delay(60);
Epn2.write(0);
Fspn2.write(90);
delay(87);
Dpn1.write(0);
Fspn1.write(90);
delay(57);
Bpn2.write(90);
Fspn2.write(0);
delay(90);
Epn1.write(90);
Fspn1.write(0);
delay(54);
Bpn2.write(0);
Cspn2.write(90);
delay(93);
Cspn1.write(90);
Epn1.write(0);
delay(51);
Cspn2.write(0);
Dpn2.write(90);
delay(96);
Bpn1.write(90);
Cspn1.write(0);
delay(48);
Dpn2.write(0);
Fspn2.write(90);
delay(99);
Bpn1.write(0);
Fspn1.write(90);
delay(45);
Epn2.write(90);
Fspn2.write(0);
delay(102);
Dpn1.write(90);
Fspn1.write(0);
delay(42);
Cspn2.write(90);
Epn2.write(0);
delay(105);
Cspn1.write(90);
Dpn1.write(0);
delay(39);
Bpn2.write(90);
Cspn2.write(0);
delay(108);
Cspn1.write(0);
Epn1.write(90);
delay(36);
Bpn2.write(0);
Fspn2.write(90);
delay(111);
Epn1.write(0);
Fspn1.write(90);
delay(33);
Dpn2.write(90);
Fspn2.write(0);
delay(114);
Bpn1.write(90);
Fspn1.write(0);
delay(30);
Cspn2.write(90);
Dpn2.write(0);
delay(117);
Bpn1.write(0);
Cspn1.write(90);
delay(27);
Cspn2.write(0);
Epn2.write(90);
delay(120);
Cspn1.write(0);
Dpn1.write(90);
delay(24);
Epn2.write(0);
Fspn2.write(90);
delay(123);
Dpn1.write(0);
Fspn1.write(90);
delay(21);
Bpn2.write(90);
Fspn2.write(0);
delay(126);
Epn1.write(90);
Fspn1.write(0);
delay(18);
Bpn2.write(0);
Cspn2.write(90);
delay(129);
Cspn1.write(90);
Epn1.write(0);
delay(15);
Cspn2.write(0);
Dpn2.write(90);
delay(132);
Bpn1.write(90);
Cspn1.write(0);
delay(12);
Dpn2.write(0);
Fspn2.write(90);
delay(135);
Bpn1.write(0);
Fspn1.write(90);
delay(9);
Epn2.write(90);
Fspn2.write(0);
delay(138);
Dpn1.write(90);
Fspn1.write(0);
delay(6);
Cspn2.write(90);
Epn2.write(0);
delay(141);
Cspn1.write(90);
Dpn1.write(0);
delay(3);
Bpn2.write(90);
Cspn2.write(0);
delay(144);
Bpn2.write(0);
Cspn1.write(0);
Epn1.write(90);
Fspn2.write(90);
delay(147);
Dpn2.write(90);
Epn1.write(0);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Bpn1.write(90);
Cspn2.write(90);
Dpn2.write(0);
Fspn1.write(0);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Cspn2.write(0);
Epn2.write(90);
delay(147);
Cspn1.write(0);
Dpn1.write(90);
Epn2.write(0);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Dpn1.write(0);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn2.write(90);
Epn1.write(90);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(0);
Dpn2.write(90);
Epn1.write(0);
delay(147);
Bpn1.write(90);
Cspn1.write(0);
Dpn2.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(0);
Epn2.write(90);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Dpn1.write(90);
Epn2.write(0);
Fspn1.write(0);
delay(147);
Bpn2.write(90);
Cspn1.write(90);
Cspn2.write(0);
Dpn1.write(0);
delay(147);
Bpn2.write(0);
Cspn1.write(0);
Epn1.write(90);
Fspn2.write(90);
delay(147);
Dpn2.write(90);
Epn1.write(0);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Bpn1.write(90);
Cspn2.write(90);
Dpn2.write(0);
Fspn1.write(0);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Cspn2.write(0);
Epn2.write(90);
delay(147);
Cspn1.write(0);
Dpn1.write(90);
Epn2.write(0);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Dpn1.write(0);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn2.write(90);
Epn1.write(90);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(0);
Dpn2.write(90);
Epn1.write(0);
delay(147);
Bpn1.write(90);
Cspn1.write(0);
Dpn2.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(0);
Epn2.write(90);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Dpn1.write(90);
Epn2.write(0);
Fspn1.write(0);
delay(147);
Bpn2.write(90);
Cspn1.write(90);
Cspn2.write(0);
Dpn1.write(0);
delay(147);
Bpn2.write(0);
Cspn1.write(0);
Epn1.write(90);
Fspn2.write(90);
delay(147);
Dpn2.write(90);
Epn1.write(0);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Bpn1.write(90);
Cspn2.write(90);
Dpn2.write(0);
Fspn1.write(0);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Cspn2.write(0);
Epn2.write(90);
delay(147);
Cspn1.write(0);
Dpn1.write(90);
Epn2.write(0);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Dpn1.write(0);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn2.write(90);
Epn1.write(90);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(0);
Dpn2.write(90);
Epn1.write(0);
delay(147);
Bpn1.write(90);
Cspn1.write(0);
Dpn2.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(0);
Epn2.write(90);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Dpn1.write(90);
Epn2.write(0);
Fspn1.write(0);
delay(147);
Bpn2.write(90);
Cspn1.write(90);
Cspn2.write(0);
Dpn1.write(0);
delay(147);
Bpn2.write(0);
Cspn1.write(0);
Epn1.write(90);
Fspn2.write(90);
delay(147);
Dpn2.write(90);
Epn1.write(0);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Bpn1.write(90);
Cspn2.write(90);
Dpn2.write(0);
Fspn1.write(0);
delay(147);
Bpn1.write(0);
Cspn1.write(90);
Cspn2.write(0);
Epn2.write(90);
delay(147);
Cspn1.write(0);
Dpn1.write(90);
Epn2.write(0);
Fspn2.write(90);
delay(147);
Bpn2.write(90);
Dpn1.write(0);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Bpn2.write(0);
Cspn2.write(90);
Epn1.write(90);
Fspn1.write(0);
delay(147);
Cspn1.write(90);
Cspn2.write(0);
Dpn2.write(90);
Epn1.write(0);
delay(147);
Bpn1.write(90);
Cspn1.write(0);
Dpn2.write(0);
Fspn2.write(90);
delay(147);
Bpn1.write(0);
Epn2.write(90);
Fspn1.write(90);
Fspn2.write(0);
delay(147);
Cspn2.write(90);
Dpn1.write(90);
Epn2.write(0);
Fspn1.write(0);
delay(147);
Bpn2.write(90);
Cspn1.write(90);
Cspn2.write(0);
Dpn1.write(0);
delay(147);
Bpn2.write(0);
Cspn1.write(0);
Epn1.write(90);
Fspn2.write(90);
delay(144);
Dpn2.write(90);
Fspn2.write(0);
delay(3);
Epn1.write(0);
Fspn1.write(90);
delay(141);
Cspn2.write(90);
Dpn2.write(0);
delay(6);
Bpn1.write(90);
Fspn1.write(0);
delay(138);
Cspn2.write(0);
Epn2.write(90);
delay(9);
Bpn1.write(0);
Cspn1.write(90);
delay(135);
Epn2.write(0);
Fspn2.write(90);
delay(12);
Cspn1.write(0);
Dpn1.write(90);
delay(132);
Bpn2.write(90);
Fspn2.write(0);
delay(15);
Dpn1.write(0);
Fspn1.write(90);
delay(129);
Bpn2.write(0);
Cspn2.write(90);
delay(18);
Epn1.write(90);
Fspn1.write(0);
delay(126);
Cspn2.write(0);
Dpn2.write(90);
delay(21);
Cspn1.write(90);
Epn1.write(0);
delay(123);
Dpn2.write(0);
Fspn2.write(90);
delay(24);
Bpn1.write(90);
Cspn1.write(0);
delay(120);
Epn2.write(90);
Fspn2.write(0);
delay(27);
Bpn1.write(0);
Fspn1.write(90);
delay(117);
Cspn2.write(90);
Epn2.write(0);
delay(30);
Dpn1.write(90);
Fspn1.write(0);
delay(114);
Bpn2.write(90);
Cspn2.write(0);
delay(33);
Cspn1.write(90);
Dpn1.write(0);
delay(111);
Bpn2.write(0);
Fspn2.write(90);
delay(36);
Cspn1.write(0);
Epn1.write(90);
delay(108);
Dpn2.write(90);
Fspn2.write(0);
delay(39);
Epn1.write(0);
Fspn1.write(90);
delay(105);
Cspn2.write(90);
Dpn2.write(0);
delay(42);
Bpn1.write(90);
Fspn1.write(0);
delay(102);
Cspn2.write(0);
Epn2.write(90);
delay(45);
Bpn1.write(0);
Cspn1.write(90);
delay(99);
Epn2.write(0);
Fspn2.write(90);