Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var
- d1,d2,d3,d4,d5,d6 : longint;
- s1,s2,s3,s4,s5,s6 : string;
- c1,c2,c3,c4,c5,c6 : char;
- begin
- readln(s1);
- readln(s2);
- readln(d1);
- readln(d2);
- writeln(s2[d1]);
- writeln(s1[d2]);
- end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement