Advertisement
gorbunova27

Untitled

Nov 2nd, 2021
374
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.20 KB | None | 0 0
  1. var
  2.   d1,d2,d3,d4,d5,d6 : longint;
  3.   s1,s2,s3,s4,s5,s6 : string;
  4.   c1,c2,c3,c4,c5,c6 : char;
  5. begin
  6.   readln(s1);
  7.   readln(s2);
  8.   readln(d1);
  9.   readln(d2);
  10.   writeln(s2[d1]);
  11.   writeln(s1[d2]);
  12. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement